@charset "UTF-8";

.ai-terrace-info-page {
  --ati-navy: #061631;
  --ati-blue: #2563eb;
  --ati-mint: #00a846;
  --ati-ink: #061631;
  --ati-muted: #607286;
  --ati-line: #dce7ef;
  --ati-soft: #eef4ff;
  background: #ffffff;
  color: var(--ati-ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.page-template-page-how-to-learn #header-container,
body.page-template-page-cases #header-container,
body.page-template-page-contact #header-container,
body.page-template-page-how-to-learn #navi,
body.page-template-page-cases #navi,
body.page-template-page-contact #navi,
body.page-template-page-how-to-learn .breadcrumb,
body.page-template-page-cases .breadcrumb,
body.page-template-page-contact .breadcrumb,
body.page-template-page-how-to-learn .entry-header,
body.page-template-page-cases .entry-header,
body.page-template-page-contact .entry-header,
body.page-template-page-how-to-learn .date-tags {
  display: none !important;
}

body.page-template-page-how-to-learn #content,
body.page-template-page-cases #content,
body.page-template-page-contact #content,
body.page-template-page-how-to-learn #main,
body.page-template-page-cases #main,
body.page-template-page-contact #main {
  margin-top: 0;
  padding-top: 0;
}

.ati-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.ai-terrace-info-page .atp-site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8edf5;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.ai-terrace-info-page .atp-site-header__inner {
  max-width: 1120px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-terrace-info-page .atp-site-header__logo a {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.ai-terrace-info-page .atp-site-header__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.ai-terrace-info-page .atp-site-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.ai-terrace-info-page .atp-site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-terrace-info-page .atp-site-header__nav-list li {
  margin: 0;
  padding: 0;
  border: 0;
}

.ai-terrace-info-page .atp-site-header__nav-list a {
  color: #333333;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.ai-terrace-info-page .atp-site-header__cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.ati-logo img {
  width: 176px;
  height: auto;
  display: block;
}

.ati-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: 14px;
}

.ati-nav a {
  color: var(--ati-ink);
  text-decoration: none;
}

.ati-nav__cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ati-navy);
  color: #ffffff !important;
}

.ati-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 24px 84px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 76%, #eef4ff 76%, #eef4ff 100%);
}

.ati-hero__grid {
  max-width: 1120px;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: center;
}

.ati-kicker {
  margin: 0 0 12px;
  color: var(--ati-blue);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 13px;
}

.ati-hero h1,
.ati-section h2 {
  margin: 0;
  color: var(--ati-navy);
  line-height: 1.35;
  letter-spacing: 0;
}

.ati-hero h1 {
  font-size: clamp(42px, 5.8vw, 64px);
  max-width: 760px;
  line-height: 1.22;
  font-weight: 900;
  color: var(--ati-navy);
}

.ati-hero p {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--ati-ink);
  line-height: 2;
  font-weight: 700;
}

.ati-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ati-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: opacity 0.2s, transform 0.2s;
}

.ati-btn:hover {
  opacity: 0.9;
  text-decoration: none;
  transform: translateY(-2px);
}

.ati-btn--primary {
  background: var(--ati-blue);
  border-color: var(--ati-blue);
  color: #ffffff !important;
}

.ati-btn--ghost {
  background: #ffffff;
  border-color: var(--ati-blue);
  color: var(--ati-blue) !important;
}

.ati-hero-card {
  padding: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dbe6f5;
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.12);
}

.ati-hero-card span {
  color: var(--ati-blue);
  font-size: 12px;
  font-weight: 900;
}

.ati-hero-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ati-navy);
  font-size: 24px;
  line-height: 1.45;
}

.ati-hero-card p {
  margin-top: 14px;
  line-height: 1.8;
}

.ati-section {
  padding: 76px 0;
}

.ati-section--soft {
  background: var(--ati-soft);
}

.ati-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.ati-section h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.ati-section-head p:last-child,
.ati-contact-lead {
  color: var(--ati-muted);
  line-height: 1.9;
  font-weight: 600;
}

.ati-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ati-feature-grid article,
.ati-job {
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--ati-line);
}

.ati-feature-grid h3,
.ati-job h3 {
  margin: 0 0 12px;
  color: var(--ati-navy);
  font-size: 20px;
}

.ati-feature-grid p,
.ati-job p {
  margin: 0;
  color: var(--ati-muted);
  line-height: 1.8;
}

.ati-job-list {
  display: grid;
  gap: 18px;
}

.ati-job {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.ati-job dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.ati-job dl div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.ati-job dt {
  color: var(--ati-blue);
  font-weight: 900;
}

.ati-job dd {
  margin: 0;
  color: var(--ati-ink);
  font-weight: 700;
}

.ati-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ati-flow li {
  min-height: 124px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--ati-line);
  color: var(--ati-navy);
  font-weight: 900;
}

.ati-flow span {
  display: block;
  margin-bottom: 14px;
  color: var(--ati-mint);
  font-size: 13px;
}

.ati-contact-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.ati-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--ati-line);
  background: #ffffff;
}

.ati-form label {
  display: grid;
  gap: 8px;
  color: var(--ati-navy);
  font-weight: 800;
}

.ati-form__wide {
  grid-column: 1 / -1;
}

.ati-form input,
.ati-form textarea {
  width: 100%;
  border: 1px solid #cbd9e2;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  background: #f9fcfd;
}

.ati-form textarea {
  resize: vertical;
}

.ati-form__check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px;
  color: var(--ati-muted);
}

.ati-form__check input {
  width: 18px;
  height: 18px;
}

.atl-progress-card {
  display: grid;
  gap: 18px;
}

.atl-progress {
  display: grid;
  gap: 10px;
}

.atl-progress div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ati-navy);
  font-weight: 800;
}

.atl-progress em {
  color: var(--ati-blue);
  font-style: normal;
}

.atl-progress meter {
  width: 100%;
  height: 12px;
}

.atl-flow li {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

.atl-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: start;
}

.atl-two-column h2 {
  margin: 0;
  color: var(--ati-navy);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.35;
}

.atl-two-column p,
.atl-support p {
  color: var(--ati-muted);
  line-height: 1.9;
  font-weight: 600;
}

.atl-course-list {
  display: grid;
  gap: 14px;
}

.atl-course-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 72px;
  padding: 18px 22px;
  border: 1px solid var(--ati-line);
  border-radius: 8px;
  background: #ffffff;
}

.atl-course-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(33, 184, 166, 0.12);
  color: var(--ati-mint);
  font-weight: 900;
  font-size: 13px;
}

.atl-course-list strong {
  color: var(--ati-navy);
  font-size: 18px;
}

.atl-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.atl-support > div {
  max-width: 760px;
}

.atc-hero-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--ati-line);
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(18, 59, 93, 0.12);
}

.atc-hero-image img,
.atc-section-image img {
  display: block;
  width: 100%;
  height: auto;
}

.atc-tool-strip {
  border-top: 1px solid var(--ati-line);
  border-bottom: 1px solid var(--ati-line);
  background: #ffffff;
}

.atc-tool-strip__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.atc-tool-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(31, 127, 191, 0.09);
  color: var(--ati-blue);
  font-weight: 900;
}

.atc-tool-strip strong {
  margin-left: 8px;
  color: var(--ati-navy);
  line-height: 1.7;
}

.atc-section-image {
  margin: 0 0 30px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--ati-line);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(18, 59, 93, 0.08);
}

.atc-section-image--industry {
  max-width: 920px;
}

.atc-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.atc-case-grid article {
  min-height: 236px;
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--ati-line);
  box-shadow: 0 14px 34px rgba(18, 59, 93, 0.06);
}

.atc-case-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(31, 127, 191, 0.1);
  color: var(--ati-blue);
  font-weight: 900;
  font-size: 13px;
}

.atc-case-grid h3,
.atc-industry-list h3 {
  margin: 18px 0 10px;
  color: var(--ati-navy);
  font-size: 21px;
}

.atc-case-grid p,
.atc-industry-list p,
.atc-compare p,
.atc-learning-cta p {
  margin: 0;
  color: var(--ati-muted);
  line-height: 1.85;
  font-weight: 600;
}

.atc-industry-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.atc-industry-list article {
  padding: 26px 28px;
  border-left: 5px solid var(--ati-mint);
  border-radius: 8px;
  background: #ffffff;
  border-top: 1px solid var(--ati-line);
  border-right: 1px solid var(--ati-line);
  border-bottom: 1px solid var(--ati-line);
}

.atc-industry-list h3 {
  margin-top: 0;
}

.atc-compare,
.atc-learning-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 48px;
  align-items: center;
}

.atc-compare h2,
.atc-learning-cta h2 {
  margin: 0 0 18px;
  color: var(--ati-navy);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.35;
}

.atc-tool-table {
  display: grid;
  gap: 12px;
}

.atc-tool-table div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--ati-line);
}

.atc-tool-table span {
  color: var(--ati-blue);
  font-weight: 900;
}

.atc-tool-table strong {
  color: var(--ati-navy);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ati-hero__grid,
  .ati-feature-grid,
  .ati-job,
  .ati-flow,
  .ati-contact-grid,
  .ati-form,
  .atl-two-column,
  .atc-case-grid,
  .atc-industry-list,
  .atc-compare,
  .atc-learning-cta {
    grid-template-columns: 1fr;
  }

  .ai-terrace-info-page .atp-site-header__inner {
    height: auto;
    min-height: 64px;
    padding: 14px 18px;
    display: grid;
    gap: 12px;
  }

  .ai-terrace-info-page .atp-site-header__nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .ai-terrace-info-page .atp-site-header__nav-list {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .atl-support {
    display: grid;
  }

  .atc-tool-strip__inner {
    min-height: 0;
    padding-block: 18px;
    flex-wrap: wrap;
  }

  .atc-tool-strip strong {
    width: 100%;
    margin-left: 0;
  }

  .ati-nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ati-hero {
    padding: 42px 18px 64px;
    background: #ffffff;
  }

  .ati-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

}

@media (max-width: 560px) {
  .ati-wrap {
    width: min(100% - 28px, 1120px);
  }

  .ai-terrace-info-page .atp-site-header__logo-img {
    height: 34px;
  }

  .ai-terrace-info-page .atp-site-header__nav-list,
  .ati-nav {
    font-size: 13px;
  }

  .ai-terrace-info-page .atp-site-header__cta,
  .ati-nav__cta {
    padding: 9px 14px;
  }

  .ati-section {
    padding: 54px 0;
  }
}

/* =====================================================
   学び方ページ
===================================================== */
.ai-terrace-learn-page {
  --atl-ink: #071631;
  --atl-blue: #0b55e8;
  --atl-blue-dark: #0041c9;
  --atl-green: #00a846;
  --atl-soft: #f4f8ff;
  --atl-line: #dbe6f7;
  --atl-muted: #52647a;
  background:
    radial-gradient(circle at 84% 0%, rgba(37, 99, 235, 0.08), transparent 24%),
    #ffffff;
  color: var(--atl-ink);
}

.ai-terrace-learn-page .ati-kicker {
  color: var(--atl-blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-terrace-learn-page .atl-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 26px 0 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 62% 16%, rgba(37, 99, 235, 0.14) 0 54px, transparent 55px),
    radial-gradient(circle at 98% 88%, rgba(37, 99, 235, 0.18) 0 70px, transparent 71px),
    #ffffff;
}

.ai-terrace-learn-page .atl-hero__grid {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: center;
}

.ai-terrace-learn-page .atl-hero__body {
  position: relative;
  z-index: 2;
}

.ai-terrace-learn-page .atl-hero h1 {
  margin: 0;
  max-width: 560px;
  color: var(--atl-ink);
  font-size: clamp(40px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.ai-terrace-learn-page .atl-hero h1 span {
  color: var(--atl-ink);
  white-space: nowrap;
}

.ai-terrace-learn-page .atl-hero__body > p:not(.ati-kicker) {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--atl-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
}

.ai-terrace-learn-page .ati-actions {
  gap: 16px;
  margin-top: 30px;
}

.ai-terrace-learn-page .ati-btn {
  min-width: 168px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  gap: 14px;
}

.ai-terrace-learn-page .ati-btn--primary {
  background: linear-gradient(135deg, var(--atl-blue) 0%, var(--atl-blue-dark) 100%);
  border-color: var(--atl-blue);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.ai-terrace-learn-page .ati-btn--ghost {
  background: #ffffff;
  border: 2px solid var(--atl-blue);
  color: var(--atl-blue) !important;
}

.ai-terrace-learn-page .atl-hero__visual {
  position: relative;
  min-height: 470px;
  border-radius: 0 0 0 210px;
  overflow: hidden;
}

.ai-terrace-learn-page .atl-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 34%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.82) 35%, rgba(255,255,255,0) 100%);
}

.ai-terrace-learn-page .atl-hero__visual img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  object-position: 62% center;
}

.ai-terrace-learn-page .atl-progress-panel {
  padding: 0 0 34px;
}

.ai-terrace-learn-page .atl-progress-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: center;
  padding: 34px 42px;
  border: 1px solid var(--atl-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 48px rgba(15, 53, 115, 0.08);
}

.ai-terrace-learn-page .atl-progress-panel h2 {
  margin: 0 0 22px;
  color: var(--atl-ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.45;
}

.ai-terrace-learn-page .atl-progress {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.ai-terrace-learn-page .atl-progress div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--atl-ink);
  font-weight: 900;
}

.ai-terrace-learn-page .atl-progress em {
  color: var(--atl-blue);
  font-style: normal;
}

.ai-terrace-learn-page .atl-progress meter {
  width: 100%;
  height: 11px;
}

.ai-terrace-learn-page .atl-ui-illustration {
  position: relative;
  min-height: 190px;
}

.ai-terrace-learn-page .atl-ui-illustration__window {
  position: absolute;
  inset: 0 32px 26px 0;
  border: 1px solid #dbe6f7;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
}

.ai-terrace-learn-page .atl-ui-illustration__window span {
  position: absolute;
  left: 36px;
  right: 42px;
  height: 12px;
  border-radius: 999px;
  background: #dfe8f8;
}

.ai-terrace-learn-page .atl-ui-illustration__window span:nth-child(1) { top: 52px; }
.ai-terrace-learn-page .atl-ui-illustration__window span:nth-child(2) { top: 92px; width: 58%; }
.ai-terrace-learn-page .atl-ui-illustration__window span:nth-child(3) { top: 132px; width: 72%; }

.ai-terrace-learn-page .atl-ui-illustration__window i {
  position: absolute;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fbf65;
}

.ai-terrace-learn-page .atl-ui-illustration__window i:nth-of-type(1) { top: 53px; }
.ai-terrace-learn-page .atl-ui-illustration__window i:nth-of-type(2) { top: 93px; background: #c8d6eb; }
.ai-terrace-learn-page .atl-ui-illustration__window i:nth-of-type(3) { top: 133px; background: #c8d6eb; }

.ai-terrace-learn-page .atl-ui-illustration__chart {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: 108px;
  border: 1px solid #dbe6f7;
  border-radius: 8px;
  background:
    radial-gradient(circle, transparent 31px, #ffffff 32px),
    conic-gradient(var(--atl-blue) 0 72%, #dfe8f8 72% 100%);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.ai-terrace-learn-page .atl-status-section {
  padding-top: 42px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.ai-terrace-learn-page .atl-status-head {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.ai-terrace-learn-page .atl-status-head h2 {
  margin: 0;
  color: var(--atl-ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.35;
}

.ai-terrace-learn-page .atl-status-head p {
  margin: 16px auto 0;
  color: var(--atl-ink);
  font-weight: 700;
  line-height: 1.9;
}

.ai-terrace-learn-page .atl-status-head p:last-child {
  color: var(--atl-muted);
}

.ai-terrace-learn-page .atl-status-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.ai-terrace-learn-page .atl-status-metrics {
  display: grid;
  gap: 22px;
}

.ai-terrace-learn-page .atl-status-card {
  padding: 28px;
  border: 1px solid var(--atl-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 53, 115, 0.06);
}

.ai-terrace-learn-page .atl-status-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ai-terrace-learn-page .atl-status-card__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e7f0ff;
  color: var(--atl-blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-terrace-learn-page .atl-status-card h3 {
  margin: 0;
  color: var(--atl-blue);
  font-size: 21px;
  line-height: 1.4;
  font-weight: 900;
}

.ai-terrace-learn-page .atl-status-card p {
  margin: 18px 0 0;
  color: var(--atl-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.ai-terrace-learn-page .atl-status-card--graph {
  min-height: 360px;
}

.ai-terrace-learn-page .atl-learning-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  height: 188px;
  padding: 22px 20px 18px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(219, 230, 247, 0.85) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #dbe6f7;
}

.ai-terrace-learn-page .atl-learning-chart div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 10px;
}

.ai-terrace-learn-page .atl-learning-chart i {
  display: block;
  height: var(--bar);
  min-height: 24px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--atl-blue) 0%, #2fbf65 100%);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.15);
}

.ai-terrace-learn-page .atl-learning-chart span {
  color: #4e5d78;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.ai-terrace-learn-page .atl-status-card--metric {
  display: grid;
  align-content: start;
}

.ai-terrace-learn-page .atl-status-card--metric small {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--atl-blue);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.ai-terrace-learn-page .atl-status-card--metric strong {
  display: block;
  color: var(--atl-ink);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
}

.ai-terrace-learn-page .atl-status-card--metric strong::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: #2fbf65;
}

.ai-terrace-learn-page .atl-section-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 26px;
}

.ai-terrace-learn-page .atl-section-head h2,
.ai-terrace-learn-page .ati-section-head h2 {
  margin: 0;
  color: var(--atl-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
}

.ai-terrace-learn-page .atl-section-head > p,
.ai-terrace-learn-page .ati-section-head p:last-child {
  max-width: 880px;
  margin: 0;
  color: var(--atl-ink);
  font-weight: 700;
  line-height: 1.9;
}

.ai-terrace-learn-page .atl-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-terrace-learn-page .atl-flow li {
  position: relative;
  min-height: 188px;
  padding: 26px 24px 24px;
  border: 1px solid var(--atl-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 53, 115, 0.05);
}

.ai-terrace-learn-page .atl-flow li:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -31px;
  color: var(--atl-blue);
  font-size: 42px;
  font-weight: 900;
  transform: translateY(-50%);
}

.ai-terrace-learn-page .atl-flow span,
.ai-terrace-learn-page .atl-course-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--atl-green);
  font-size: 20px;
  font-weight: 900;
}

.ai-terrace-learn-page .atl-flow strong {
  display: block;
  color: var(--atl-ink);
  font-size: 16px;
  line-height: 1.6;
}

.ai-terrace-learn-page .atl-flow p {
  margin: 14px 0 0;
  color: var(--atl-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-terrace-learn-page .atl-learning-section,
.ai-terrace-learn-page .atl-course-section,
.ai-terrace-learn-page .atl-support-section {
  padding-top: 42px;
}

.ai-terrace-learn-page .atl-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ai-terrace-learn-page .atl-feature-grid article {
  display: grid;
  grid-template-columns: 1fr 148px;
  gap: 14px;
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--atl-line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.ai-terrace-learn-page .atl-feature-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--atl-ink);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  white-space: nowrap;
}

.ai-terrace-learn-page .atl-feature-grid p {
  margin: 0;
  color: var(--atl-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-terrace-learn-page .atl-feature-grid img {
  align-self: end;
  width: 170px;
  height: 122px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.ai-terrace-learn-page .atl-course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ai-terrace-learn-page .atl-course-grid article {
  padding: 20px 18px;
  border: 1px solid var(--atl-line);
  border-radius: 8px;
  background: #ffffff;
}

.ai-terrace-learn-page .atl-course-grid span {
  min-width: 48px;
  min-height: 26px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: var(--atl-green);
  color: #ffffff;
  font-size: 13px;
}

.ai-terrace-learn-page .atl-course-grid strong {
  display: block;
  min-height: 54px;
  color: var(--atl-ink);
  font-size: 16px;
  line-height: 1.55;
}

.ai-terrace-learn-page .atl-course-grid p {
  margin: 10px 0 0;
  color: var(--atl-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
}

.ai-terrace-learn-page .atl-support-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 36px;
  align-items: center;
}

.ai-terrace-learn-page .atl-support-card h2 {
  margin: 0;
  color: var(--atl-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.4;
}

.ai-terrace-learn-page .atl-support-card p:not(.ati-kicker) {
  color: var(--atl-ink);
  font-weight: 700;
  line-height: 1.95;
}

.ai-terrace-learn-page .atl-support-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.ai-terrace-learn-page .atl-final-cta {
  padding: 20px 0 64px;
}

.ai-terrace-learn-page .atl-final-cta__inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  min-height: 238px;
  padding: 0 56px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 18%, rgba(255,255,255,0.2), transparent 18%),
    linear-gradient(135deg, #0c65ff 0%, #0039be 100%);
  color: #ffffff;
}

.ai-terrace-learn-page .atl-final-cta img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  object-position: center;
}

.ai-terrace-learn-page .atl-final-cta h2 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.35;
}

.ai-terrace-learn-page .atl-final-cta p {
  max-width: 680px;
  margin: 14px 0 22px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-terrace-learn-page .atl-final-cta__btn {
  min-width: 280px;
  min-height: 52px;
  background: #ffe95a;
  border-color: #ffe95a;
  color: var(--atl-ink) !important;
  box-shadow: none;
}

@media (max-width: 980px) {
  .ai-terrace-learn-page .atl-hero__grid,
  .ai-terrace-learn-page .atl-progress-panel__inner,
  .ai-terrace-learn-page .atl-status-grid,
  .ai-terrace-learn-page .atl-section-head,
  .ai-terrace-learn-page .atl-support-card,
  .ai-terrace-learn-page .atl-final-cta__inner {
    grid-template-columns: 1fr;
  }

  .ai-terrace-learn-page .atl-hero {
    padding-top: 24px;
  }

  .ai-terrace-learn-page .atl-hero__visual {
    min-height: 340px;
    border-radius: 8px;
  }

  .ai-terrace-learn-page .atl-hero__visual img {
    height: 340px;
  }

  .ai-terrace-learn-page .atl-ui-illustration {
    display: none;
  }

  .ai-terrace-learn-page .atl-status-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-terrace-learn-page .atl-flow,
  .ai-terrace-learn-page .atl-feature-grid,
  .ai-terrace-learn-page .atl-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-terrace-learn-page .atl-flow {
    gap: 18px;
  }

  .ai-terrace-learn-page .atl-flow li:not(:last-child)::after {
    display: none;
  }

  .ai-terrace-learn-page .atl-final-cta__inner {
    padding: 0 24px 28px;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .ai-terrace-learn-page .atl-hero h1 {
    font-size: 36px;
  }

  .ai-terrace-learn-page .atl-hero h1 span {
    white-space: normal;
  }

  .ai-terrace-learn-page .atl-hero__visual,
  .ai-terrace-learn-page .atl-hero__visual img {
    height: 260px;
    min-height: 260px;
  }

  .ai-terrace-learn-page .atl-progress-panel__inner {
    padding: 26px 20px;
  }

  .ai-terrace-learn-page .atl-status-card {
    padding: 24px 20px;
  }

  .ai-terrace-learn-page .atl-status-metrics {
    grid-template-columns: 1fr;
  }

  .ai-terrace-learn-page .atl-learning-chart {
    height: 158px;
    gap: 10px;
    padding: 18px 14px 14px;
  }

  .ai-terrace-learn-page .atl-flow,
  .ai-terrace-learn-page .atl-feature-grid,
  .ai-terrace-learn-page .atl-course-grid {
    grid-template-columns: 1fr;
  }

  .ai-terrace-learn-page .atl-feature-grid article {
    grid-template-columns: 1fr;
  }

  .ai-terrace-learn-page .atl-feature-grid img {
    width: 100%;
    height: 150px;
  }

  .ai-terrace-learn-page .atl-final-cta__btn {
    min-width: 0;
    width: 100%;
  }
}

/* =====================================================
   活用事例ページ
===================================================== */
.ai-terrace-cases-page {
  --atc-ink: #071631;
  --atc-blue: #0b55e8;
  --atc-blue-dark: #0041c9;
  --atc-soft: #eef6ff;
  --atc-line: #dbe6f7;
  --atc-muted: #52647a;
  background: #ffffff;
  color: var(--atc-ink);
}

.ai-terrace-cases-page .ati-kicker {
  color: var(--atc-blue);
  font-weight: 900;
}

.ai-terrace-cases-page .atc-new-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 54px 0 58px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.94) 38%, rgba(244,248,255,0.72) 100%),
    #f6faff;
}

.ai-terrace-cases-page .atc-new-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: center;
  min-height: 470px;
}

.ai-terrace-cases-page .atc-new-hero h1 {
  margin: 0;
  color: var(--atc-ink);
  font-size: clamp(40px, 5.2vw, 58px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
}

.ai-terrace-cases-page .atc-new-hero__body > p:not(.ati-kicker) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--atc-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
}

.ai-terrace-cases-page .atc-new-hero .ati-actions {
  gap: 22px;
  margin-top: 36px;
}

.ai-terrace-cases-page .ati-btn {
  min-width: 172px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 900;
}

.ai-terrace-cases-page .ati-btn--primary {
  background: linear-gradient(135deg, var(--atc-blue) 0%, var(--atc-blue-dark) 100%);
  border-color: var(--atc-blue);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.ai-terrace-cases-page .ati-btn--ghost {
  background: #ffffff;
  border: 2px solid var(--atc-blue);
  color: var(--atc-blue) !important;
}

.ai-terrace-cases-page .atc-new-hero__visual {
  position: relative;
  min-height: 420px;
}

.ai-terrace-cases-page .atc-new-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.64) 18%, rgba(255,255,255,0) 42%);
  border-radius: 8px;
  pointer-events: none;
}

.ai-terrace-cases-page .atc-new-hero__visual img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.ai-terrace-cases-page .atc-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid var(--atc-line);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 14px 28px rgba(15, 53, 115, 0.09);
  color: var(--atc-ink);
  font-size: 14px;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-float--writing { top: 18px; left: 92px; }
.ai-terrace-cases-page .atc-float--plan { top: 26px; right: 12px; }
.ai-terrace-cases-page .atc-float--summary { left: 16px; top: 210px; }
.ai-terrace-cases-page .atc-float--sns { right: 18px; top: 186px; }
.ai-terrace-cases-page .atc-float--support { right: 0; bottom: 48px; }

.ai-terrace-cases-page .atc-center-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.ai-terrace-cases-page .atc-center-head h2 {
  margin: 0;
  color: var(--atc-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-center-head p {
  margin: 16px 0 0;
  color: var(--atc-ink);
  font-weight: 700;
  line-height: 1.9;
}

.ai-terrace-cases-page .atc-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.ai-terrace-cases-page .atc-category-grid article {
  min-height: 244px;
  padding: 28px 22px 24px;
  border: 1px solid var(--atc-line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 53, 115, 0.05);
}

.ai-terrace-cases-page .atc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 18px;
  color: var(--atc-blue);
  font-size: 22px;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-icon--blue { background: #e6f0ff; color: #0b55e8; }
.ai-terrace-cases-page .atc-icon--green { background: #dff8f2; color: #00a88a; }
.ai-terrace-cases-page .atc-icon--purple { background: #ece9ff; color: #6568df; }
.ai-terrace-cases-page .atc-icon--pink { background: #ffe9ef; color: #e35f83; }
.ai-terrace-cases-page .atc-icon--orange { background: #fff0df; color: #f0902f; }

.ai-terrace-cases-page .atc-category-grid h3 {
  margin: 0 0 14px;
  color: var(--atc-ink);
  font-size: 19px;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-category-grid p {
  margin: 0;
  color: var(--atc-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
}

.ai-terrace-cases-page .atc-study-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
}

.ai-terrace-cases-page .atc-study-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ai-terrace-cases-page .atc-study-grid article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  min-height: 224px;
  padding: 28px;
  border: 1px solid var(--atc-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 53, 115, 0.06);
}

.ai-terrace-cases-page .atc-study-grid .atc-icon {
  width: 62px;
  height: 62px;
  margin: 18px 0 0;
}

.ai-terrace-cases-page .atc-study-grid em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--atc-blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-study-grid h3 {
  margin: 12px 0 8px;
  color: var(--atc-ink);
  font-size: 20px;
  line-height: 1.55;
}

.ai-terrace-cases-page .atc-study-grid p {
  margin: 0;
  color: var(--atc-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.ai-terrace-cases-page .atc-study-grid b {
  display: block;
  margin-top: 12px;
  color: var(--atc-blue);
  font-size: 14px;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-study-grid strong {
  font-size: 26px;
  line-height: 1;
}

.ai-terrace-cases-page .atc-bottom-cta {
  padding: 34px 0 72px;
  background: #eef6ff;
}

.ai-terrace-cases-page .atc-bottom-cta__inner {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  min-height: 172px;
  padding: 30px 42px 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.18) 0 90px, transparent 92px),
    linear-gradient(135deg, #0c65ff 0%, #0039be 100%);
  box-shadow: 0 18px 42px rgba(15, 53, 115, 0.16);
}

.ai-terrace-cases-page .atc-bottom-cta__photo {
  overflow: hidden;
  align-self: stretch;
  min-height: 132px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: #eef6ff;
}

.ai-terrace-cases-page .atc-bottom-cta__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  object-position: center;
}

.ai-terrace-cases-page .atc-bottom-cta h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(24px, 2.75vw, 31px);
  line-height: 1.35;
  font-weight: 900;
}

.ai-terrace-cases-page .atc-bottom-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  line-height: 1.8;
}

.ai-terrace-cases-page .atc-bottom-cta .ati-btn {
  min-width: 220px;
  min-height: 54px;
  gap: 12px;
  padding: 0 30px;
  border-color: #ffe95a !important;
  background: #ffe95a !important;
  color: var(--atc-ink) !important;
  box-shadow: 0 12px 24px rgba(0, 27, 94, 0.18);
}

.ai-terrace-cases-page .atc-bottom-cta .ati-btn span {
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .ai-terrace-cases-page .atc-new-hero__grid,
  .ai-terrace-cases-page .atc-bottom-cta__inner {
    grid-template-columns: 1fr;
  }

  .ai-terrace-cases-page .atc-category-grid,
  .ai-terrace-cases-page .atc-study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-terrace-cases-page .atc-new-hero__visual img {
    width: 100%;
    transform: none;
  }

  .ai-terrace-cases-page .atc-float {
    display: none;
  }
}

@media (max-width: 620px) {
  .ai-terrace-cases-page .atc-new-hero {
    padding: 38px 0 42px;
  }

  .ai-terrace-cases-page .atc-new-hero h1 {
    font-size: 35px;
  }

  .ai-terrace-cases-page .atc-new-hero__visual,
  .ai-terrace-cases-page .atc-new-hero__visual img {
    min-height: 260px;
    height: 260px;
  }

  .ai-terrace-cases-page .atc-category-grid,
  .ai-terrace-cases-page .atc-study-grid {
    grid-template-columns: 1fr;
  }

  .ai-terrace-cases-page .atc-study-grid article {
    grid-template-columns: 1fr;
  }

  .ai-terrace-cases-page .atc-bottom-cta__inner {
    padding: 24px;
  }

  .ai-terrace-cases-page .atc-bottom-cta__photo {
    min-height: 180px;
  }

  .ai-terrace-cases-page .atc-bottom-cta__photo img {
    min-height: 180px;
  }
}

/* =====================================================
   お問い合わせページ
===================================================== */
.ai-terrace-contact-page {
  --atn-ink: #071631;
  --atn-blue: #0b55e8;
  --atn-blue-dark: #0041c9;
  --atn-soft: #eef6ff;
  --atn-line: #dbe6f7;
  --atn-muted: #52647a;
  background: #ffffff;
  color: var(--atn-ink);
}

.ai-terrace-contact-page .ati-kicker {
  color: var(--atn-blue);
  font-weight: 900;
}

.ai-terrace-contact-page .ati-btn--primary {
  background: linear-gradient(135deg, var(--atn-blue) 0%, var(--atn-blue-dark) 100%);
  border-color: var(--atn-blue);
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.ai-terrace-contact-page .atn-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 56px 0 58px;
  background:
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 54%, #eef6ff 100%);
  overflow: hidden;
}

.ai-terrace-contact-page .atn-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 46px;
  align-items: center;
}

.ai-terrace-contact-page .atn-hero h1 {
  margin: 0;
  color: var(--atn-ink);
  font-size: clamp(36px, 4.5vw, 50px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: 0;
}

.ai-terrace-contact-page .atn-hero h1 span {
  white-space: nowrap;
}

.ai-terrace-contact-page .atn-hero__body > p:not(.ati-kicker) {
  max-width: 570px;
  margin: 24px 0 0;
  color: var(--atn-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 2;
}

.ai-terrace-contact-page .atn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ai-terrace-contact-page .atn-hero__actions span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--atn-blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-terrace-contact-page .atn-hero__visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 53, 115, 0.1);
}

.ai-terrace-contact-page .atn-hero__visual img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}

.ai-terrace-contact-page .atn-consult-section {
  padding: 52px 0 48px;
  background: #ffffff;
}

.ai-terrace-contact-page .atn-consult-head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.ai-terrace-contact-page .atn-consult-head h2 {
  margin: 0;
  color: var(--atn-ink);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  font-weight: 900;
}

.ai-terrace-contact-page .atn-consult-head p:not(.ati-kicker) {
  margin: 14px 0 0;
  color: var(--atn-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.ai-terrace-contact-page .atn-consult-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ai-terrace-contact-page .atn-consult-grid article {
  min-height: 210px;
  padding: 24px 22px;
  border: 1px solid var(--atn-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(15, 53, 115, 0.06);
}

.ai-terrace-contact-page .atn-consult-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8f1ff;
  color: var(--atn-blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-terrace-contact-page .atn-consult-grid h3 {
  margin: 18px 0 0;
  color: var(--atn-ink);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 900;
}

.ai-terrace-contact-page .atn-consult-grid h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--ati-mint);
}

.ai-terrace-contact-page .atn-consult-grid p {
  margin: 14px 0 0;
  color: var(--atn-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-terrace-contact-page .atn-contact-section {
  background: var(--atn-soft);
}

.ai-terrace-contact-page .atn-contact-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.ai-terrace-contact-page .atn-contact-side h2 {
  margin: 0;
  color: var(--atn-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.35;
}

.ai-terrace-contact-page .atn-contact-side > p:not(.ati-kicker) {
  color: var(--atn-ink);
  font-weight: 700;
  line-height: 1.9;
}

.ai-terrace-contact-page .atn-info-card {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--atn-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 53, 115, 0.05);
}

.ai-terrace-contact-page .atn-info-card span {
  color: var(--atn-blue);
  font-size: 13px;
  font-weight: 900;
}

.ai-terrace-contact-page .atn-info-card strong {
  display: block;
  margin-top: 10px;
  color: var(--atn-ink);
  line-height: 1.7;
}

.ai-terrace-contact-page .atn-info-card p {
  margin: 12px 0 0;
  color: var(--atn-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.ai-terrace-contact-page .atn-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--atn-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 53, 115, 0.08);
}

.ai-terrace-contact-page .atn-form label {
  display: grid;
  gap: 8px;
  color: var(--atn-ink);
  font-weight: 900;
}

.ai-terrace-contact-page .atn-form__wide {
  grid-column: 1 / -1;
}

.ai-terrace-contact-page .atn-form input,
.ai-terrace-contact-page .atn-form select,
.ai-terrace-contact-page .atn-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd9e8;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f8fbff;
  color: var(--atn-ink);
  font: inherit;
}

.ai-terrace-contact-page .atn-form textarea {
  resize: vertical;
}

.ai-terrace-contact-page .atn-form__check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--atn-muted);
  font-weight: 700;
}

.ai-terrace-contact-page .atn-form__check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
}

.ai-terrace-contact-page .atn-form__submit {
  min-height: 56px;
  justify-self: start;
  min-width: 260px;
  gap: 14px;
}

.ai-terrace-contact-page .atn-form--cf7 {
  display: block;
}

.ai-terrace-contact-page .atn-form--cf7 .wpcf7 {
  width: 100%;
}

.ai-terrace-contact-page .atn-form--cf7 form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.ai-terrace-contact-page .atn-form--cf7 p {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--atn-ink);
  font-weight: 900;
}

.ai-terrace-contact-page .atn-form--cf7 p:has(textarea),
.ai-terrace-contact-page .atn-form--cf7 p:has(.wpcf7-submit),
.ai-terrace-contact-page .atn-form--cf7 p:has(.wpcf7-acceptance),
.ai-terrace-contact-page .atn-form--cf7 .atn-form-privacy-row,
.ai-terrace-contact-page .atn-form--cf7 p:has(select) {
  grid-column: 1 / -1;
}

.ai-terrace-contact-page .atn-form--cf7 .wpcf7-form-control-wrap {
  display: block;
}

.ai-terrace-contact-page .atn-form--cf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.ai-terrace-contact-page .atn-form--cf7 select,
.ai-terrace-contact-page .atn-form--cf7 textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd9e8;
  border-radius: 8px;
  padding: 12px 14px;
  background: #f8fbff;
  color: var(--atn-ink);
  font: inherit;
}

.ai-terrace-contact-page .atn-form--cf7 textarea {
  resize: vertical;
}

.ai-terrace-contact-page .atn-form--cf7 .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--atn-muted);
  font-weight: 700;
}

.ai-terrace-contact-page .atn-form--cf7 .atn-form-privacy-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--atn-muted);
  font-weight: 800;
}

.ai-terrace-contact-page .atn-form--cf7 .atn-form-privacy-field input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ai-terrace-contact-page .atn-form--cf7 .atn-privacy-open {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--atn-blue);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.ai-terrace-contact-page .atn-form--cf7 .atn-form-privacy-note {
  color: var(--atn-muted);
  font-size: 13px;
  font-weight: 700;
}

.ai-terrace-contact-page .atn-form--cf7 input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
}

.ai-terrace-contact-page .atn-form--cf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 56px;
  border: 1px solid var(--atn-blue);
  border-radius: 999px;
  padding: 0 30px;
  background: linear-gradient(135deg, var(--atn-blue) 0%, var(--atn-blue-dark) 100%);
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.ai-terrace-contact-page .atn-form--cf7 .wpcf7-not-valid-tip,
.ai-terrace-contact-page .atn-form--cf7 .wpcf7-response-output {
  font-size: 13px;
  font-weight: 700;
}

.ai-terrace-contact-page .atn-form__empty {
  margin: 0;
  color: var(--atn-muted);
  font-weight: 700;
  line-height: 1.8;
}

.atn-privacy-modal[hidden] {
  display: none;
}

.atn-privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.atn-privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 18, 48, 0.55);
}

.atn-privacy-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  display: grid;
  gap: 16px;
  border: 1px solid #d7e5f5;
  border-radius: 18px;
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 35, 70, 0.24);
}

.atn-privacy-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid #d7e5f5;
  border-radius: 999px;
  background: #ffffff;
  color: var(--atn-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.atn-privacy-modal h2 {
  margin: 0;
  color: var(--atn-ink);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
}

.atn-privacy-modal__body {
  max-height: min(46vh, 420px);
  overflow-y: auto;
  border: 1px solid #d7e5f5;
  border-radius: 14px;
  padding: 20px;
  background: #f8fbff;
  color: var(--atn-ink);
  line-height: 1.9;
}

.atn-privacy-modal__body h3 {
  margin: 20px 0 6px;
  color: var(--atn-blue);
  font-size: 1rem;
  line-height: 1.5;
}

.atn-privacy-modal__body p {
  margin: 0 0 12px;
  color: var(--atn-muted);
  font-weight: 700;
}

.atn-privacy-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.atn-privacy-modal__actions a {
  color: var(--atn-blue);
  font-weight: 900;
  text-decoration: none;
}

.atn-privacy-modal__confirm {
  appearance: none;
  min-height: 48px;
  border: 1px solid var(--atn-blue);
  border-radius: 999px;
  padding: 0 26px;
  background: var(--atn-blue) !important;
  color: #ffffff !important;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.atn-privacy-modal__confirm:hover,
.atn-privacy-modal__confirm:focus,
.atn-privacy-modal__confirm:active {
  border-color: var(--atn-blue-dark);
  background: var(--atn-blue-dark) !important;
  color: #ffffff !important;
  outline: 2px solid rgba(37, 99, 235, 0.18);
  outline-offset: 3px;
}

.atn-privacy-modal__confirm:disabled {
  border-color: #cbd9e8 !important;
  background: #e8eef7 !important;
  color: #34506f !important;
  cursor: not-allowed;
  box-shadow: none;
  outline: none;
}

body .atn-privacy-modal .atn-privacy-modal__confirm:not(:disabled) {
  border-color: var(--atn-blue-dark) !important;
  background-color: var(--atn-blue) !important;
  background-image: linear-gradient(135deg, var(--atn-blue) 0%, var(--atn-blue-dark) 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body .atn-privacy-modal .atn-privacy-modal__confirm:not(:disabled):hover,
body .atn-privacy-modal .atn-privacy-modal__confirm:not(:disabled):focus,
body .atn-privacy-modal .atn-privacy-modal__confirm:not(:disabled):active {
  border-color: var(--atn-blue-dark) !important;
  background-color: var(--atn-blue-dark) !important;
  background-image: linear-gradient(135deg, var(--atn-blue-dark) 0%, #063a9b 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body .atn-privacy-modal .atn-privacy-modal__confirm:disabled {
  background-image: none !important;
  -webkit-text-fill-color: #34506f !important;
}

.ai-terrace-privacy-page {
  background: #f4f8ff;
  color: var(--atn-ink);
}

.ai-terrace-privacy-page .atn-privacy-hero {
  padding: 88px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.ai-terrace-privacy-page .atn-privacy-hero h1 {
  margin: 10px 0 16px;
  color: var(--atn-ink);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.ai-terrace-privacy-page .atn-privacy-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--atn-muted);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 2;
}

.ai-terrace-privacy-page .atn-privacy-section {
  padding: 32px 0 88px;
}

.ai-terrace-privacy-page .atn-privacy-content {
  max-width: 900px;
  border: 1px solid #d7e5f5;
  border-radius: 18px;
  padding: clamp(28px, 5vw, 54px);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 35, 70, 0.08);
}

.ai-terrace-privacy-page .atn-privacy-content h2 {
  margin: 34px 0 10px;
  color: var(--atn-blue);
  font-size: 1.25rem;
  line-height: 1.6;
}

.ai-terrace-privacy-page .atn-privacy-content p {
  margin: 0 0 16px;
  color: var(--atn-muted);
  font-weight: 700;
  line-height: 2;
}

.ai-terrace-privacy-page .atn-privacy-date {
  margin-top: 34px;
  color: var(--atn-ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .ai-terrace-contact-page .atn-hero__grid,
  .ai-terrace-contact-page .atn-consult-grid,
  .ai-terrace-contact-page .atn-contact-grid,
  .ai-terrace-contact-page .atn-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-terrace-contact-page .atn-hero__grid,
  .ai-terrace-contact-page .atn-contact-grid,
  .ai-terrace-contact-page .atn-form {
    grid-template-columns: 1fr;
  }

  .ai-terrace-contact-page .atn-form--cf7 form {
    grid-template-columns: 1fr;
  }

  .ai-terrace-contact-page .atn-hero {
    padding: 42px 0;
  }

  .ai-terrace-contact-page .atn-hero__visual img {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .ai-terrace-contact-page .atn-hero h1 {
    font-size: 34px;
  }

  .ai-terrace-contact-page .atn-hero h1 span {
    white-space: normal;
  }

  .ai-terrace-contact-page .atn-form {
    padding: 24px;
  }

  .ai-terrace-contact-page .atn-consult-grid {
    grid-template-columns: 1fr;
  }

  .ai-terrace-contact-page .atn-consult-grid article {
    min-height: auto;
  }

  .ai-terrace-contact-page .atn-form__submit {
    width: 100%;
    min-width: 0;
  }

  .atn-privacy-modal {
    padding: 14px;
  }

  .atn-privacy-modal__dialog {
    padding: 22px 18px;
  }

  .atn-privacy-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .atn-privacy-modal__confirm {
    width: 100%;
  }
}
