.cta3 {
  width: min(100%, 640px);
  margin-inline: auto;
  overflow: hidden;
  container-type: inline-size;
  box-sizing: border-box;
  color: #111;
  background: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

.cta3 *,
.cta3 *::before,
.cta3 *::after {
  box-sizing: border-box;
}

.cta3 .image-slice,
.cta3 .brand-art {
  overflow: hidden;
}

.cta3 .image-slice svg,
.cta3 .brand-art svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cta3 .hero-art {
  width: 100%;
  aspect-ratio: 1024 / 300;
}

.cta3 .service-card {
  --accent: #51ad17;
  --accent-dark: #268317;
  --card-height: 395;
  position: relative;
  display: grid;
  grid-template-columns: 36.6% 63.4%;
  width: calc(100% - 4.4cqw);
  margin: 0 2.2cqw 2.55cqw;
  aspect-ratio: 956 / var(--card-height);
  overflow: hidden;
  border: max(2px, .3cqw) solid var(--accent);
  border-radius: 2.2cqw;
  background: #fff;
  box-shadow: .45cqw .55cqw .65cqw rgb(55 86 41 / 16%);
}

.cta3 .service-card--orange {
  --accent: #ff6a00;
  --accent-dark: #f05a00;
  --card-height: 381;
}

.cta3 .service-card--teal {
  --accent: #079b89;
  --accent-dark: #058a7a;
  --card-height: 333;
  margin-bottom: 0;
}

.cta3 .brand-art {
  position: relative;
  min-width: 0;
  height: 100%;
}

.cta3 .brand-art::after {
  content: "";
  position: absolute;
  top: 7%;
  right: 0;
  bottom: 7%;
  border-right: .25cqw dotted color-mix(in srgb, var(--accent) 72%, white);
}

.cta3 .service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 3.1cqw 2.25cqw 3.15cqw 2.55cqw;
  color: #111;
}


/*緑 h2*/
.cta3 .service-copy h2 {
  margin: 0 0 2.05cqw;
  color: var(--accent-dark);
  font-family: "Yu Gothic", "YuGothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 5.8cqw;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
  -webkit-text-stroke: .018em currentColor;
}

.cta3 .service-copy h2 span {
  padding: 0 .55cqw .28cqw;
  background: linear-gradient(transparent 61%, #fff4a6 61%);
}

.cta3 .service-copy ul {
  display: grid;
  gap: 1.8cqw;
  margin: 0 0 2.8cqw;
  padding: 0;
  list-style: none;
}

/*緑*/
.cta3 .service-copy li {
  position: relative;
  padding-left: 4.45cqw;
  font-size: 3cqw;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0
  white-space: nowrap;
  margin-bottom: -10px;
}

.cta3 .service-copy li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  width: 3.75cqw;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent);
  font-size: 2.75cqw;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.cta3 .cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8cqw;
  padding: 0 4.8cqw;
  border-radius: 2.2cqw;
  color: #fff;
  background: linear-gradient(110deg, #ff7300, #ff5b00);
  box-shadow: 0 .85cqw 0 #cc4b00, 0 1.2cqw .8cqw rgb(80 45 12 / 20%);
  font-size: 3.6cqw;
  font-weight: 900;
  line-height: 1;
  /*letter-spacing: -.06em;*/
  text-decoration: none;
  white-space: nowrap;
  transition: filter .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cta3 .cta-button b {
  position: absolute;
  top: 50%;
  right: 1.7cqw;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 5cqw;
  font-weight: 400;
  line-height: .7;
  transform: translateY(-50%);
}

.cta3 .cta-button:hover {
  filter: brightness(1.06);
  transform: translateY(-.25cqw);
  box-shadow: 0 1.1cqw 0 #cc4b00, 0 1.35cqw .9cqw rgb(80 45 12 / 22%);
}

.cta3 .cta-button:focus-visible {
  outline: max(2px, .3cqw) solid #1769ff;
  outline-offset: .55cqw;
}

.cta3 .cta-button:active {
  transform: translateY(.45cqw);
  box-shadow: 0 .4cqw 0 #cc4b00;
}

.cta3 .service-card--orange .service-copy {
  padding-top: 2.9cqw;
  padding-bottom: 2.9cqw;
}

/*オレンジ h2*/
.cta3 .service-card--orange .service-copy h2 {
  margin-bottom: 2.15cqw;
  font-size: 5.5cqw;
}

.cta3 .service-card--orange .service-copy li {
  font-size: 3cqw;
}

.cta3 .service-card--teal .service-copy {
  padding-top: 2.6cqw;
  padding-bottom: 2.5cqw;
}

/*緑 h2*/
.cta3 .service-card--teal .service-copy h2 {
  margin-bottom: 1.75cqw;
  font-size: 5.2cqw;
}

.cta3 .service-card--teal .service-copy ul {
  gap: 1.35cqw;
  margin-bottom: 2.15cqw;
}

.cta3 .footnote {
  margin: 0;
  padding: 1.15cqw 2cqw 1.55cqw;
  color: #3c3c3c;
  font-size: 2.65cqw;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 420px) {
  .cta3 .service-copy {
    padding-right: 2.3cqw;
    padding-left: 2.7cqw;
  }

  .cta3 .service-copy li {
    font-size: 3cqw;
    padding-bottom: 5px;
  }

  .cta3 .cta-button {
    padding-right: 4.5cqw;
    padding-left: 4.5cqw;
    font-size: 3.6cqw;
    margin-top: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta3 .cta-button {
    transition: none;
  }
}



/* グリッド行が内容によってカードより高くなるのを防止 */
.cta3 .service-card {
  grid-template-rows: minmax(0, 1fr) !important;
}

.cta3 .brand-art,
.cta3 .service-copy {
  min-height: 0 !important;
}

/* このサイトの見出しデザインをCTA内だけ解除 */
#content .cta3 .service-copy > h2 {
  margin: 0 0 2.05cqw !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  font-size: 5.2cqw !important;
  line-height: 0.95 !important;
}

/*オレンジ*/
#content .cta3 .service-card--orange .service-copy > h2 {
  font-size: 5.2cqw !important;
}

#content .cta3 .service-card--teal .service-copy > h2 {
  font-size: 4.45cqw !important;
}

/* commuture.com の記事テーマによる見出し色・リストマーカーの上書きをCTA内だけ解除 */
#content .cta3 .service-copy > h2,
#content .cta3 .service-copy > h2 span {
  color: var(--accent-dark) !important;
}

#content .cta3 .service-copy ul,
#content .cta3 .service-copy li {
  list-style: none !important;
}

#content .cta3 .service-copy li::marker {
  content: "" !important;
  font-size: 0 !important;
}
