
/* ============================================================
   DECA Ad ダーク版 v1 ／ ページ専用CSS
   確認用HTMLに入っていた5ブロックを、中身を変えずに1つにまとめたもの。
   テーマ側CSS（main.css / lp/ad.css）の後に読み込み、上書きする前提。
   ============================================================ */
/* ---- deca-dark-theme-overrides ---- */
/*
 * DECA Ad dark palette overrides
 * Palette-only change: structure, spacing, sizing, typography, images,
 * animation, responsive behavior, and JavaScript hooks remain untouched.
 */

:root {
  color-scheme: dark;
}

html,
body {
  background-color: #111111 !important;
}

body,
main,
.cando,
.about,
.merit,
.form {
  color: #ffffff !important;
}

/* Global shell */
.l-header,
.l-header_gnav_main {
  background-color: #111111 !important;
}

.l-header::before,
.p-mv::before,
.price::before,
.form::after {
  display: none !important;
}

.l-header_gnav_cont {
  color: #ffffff !important;
}

.l-header_gnav_logo img,
.mv__heading img {
  filter: brightness(1.8) saturate(1.05);
}

.p-mv__txt img {
  filter: invert(1) hue-rotate(180deg);
}

.mv_btm__geo img {
  filter: brightness(0.2);
}

/* Main background rhythm. The original section order and dimensions stay intact. */
.p-mv {
  background-color: #111111 !important;
  background-image: none !important;
}

.cando,
.about,
.merit,
.form {
  background-color: #111111 !important;
}

.problem,
.value,
.price,
.cv.-re {
  background-color: #111111 !important;
}

/* Remove colorful geometric ornaments without affecting content graphics. */
.geo_tl,
.geo_tr,
.geo_bl,
.geo_mr,
.mv_btm__geo,
.p-mv__geometry {
  display: none !important;
}

/* Formerly white or pale cards/boxes */
.problem__list > li,
.about__list__img,
.merit__list__box,
.price__box__main,
.form__tab:not(.is-active) {
  background-color: #222222 !important;
}

.about-box,
.form__panels {
  background-color: #1a1a1a !important;
}

.value__box,
.price__box {
  background-color: #111111 !important;
}

.gird-box__item.-before,
.gird-box__item.-after {
  background-color: #222222 !important;
}

/* Preserve the existing navy/pink CTA bands while removing white title panels. */
.cv:not(.-re) .cv__ttl {
  background-color: #1d2088 !important;
  color: #ffffff !important;
}

.cv.-re .cv__ttl,
.form__tab.is-active {
  color: #ffffff !important;
}

/* Text: neutral copy becomes light; brand-colored accents are restored below. */
main :where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, a, button, span),
footer :where(p, li, a, span) {
  color: inherit !important;
}

.c-heading__ttl,
.check-list__item__ttl,
.value__box__header__ttl,
.gird-box__item,
.price__box__ttl,
.form__tab:not(.is-active) {
  color: #ffffff !important;
}

.check-list__item > p,
.about__list__box > p,
.about__box__txt,
.value__box__item > p,
.merit__list__box li,
.price .btm_text,
.price .btm_text__attend:not(.-pink) {
  color: #d0d0d0 !important;
}

.btm__text {
  color: #ffffff !important;
}

.problem__ttl,
.btm_text__attend.-pink,
.head-text.-after {
  color: #e4007f !important;
}

/* Lines and monochrome controls that would disappear on the dark surface. */
.c-heading__line {
  background-color: #ffffff !important;
}

.value__box__item,
.gird-box,
.gird-box.-body,
.gird-box__item,
.form__tab,
input,
textarea,
select {
  border-color: #555555 !important;
}

.c-btn__icon,
.c-btn__icon svg,
.c-btn__icon use {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Keep the existing brand surfaces and CTA colors unchanged. */
.cv:not(.-re) {
  background-color: #111111 !important;
}

.form__tab.is-active {
  background-color: #1d2088 !important;
}

footer {
  background-color: #111111 !important;
}

.strong.-pink,
.u-bg-pink,
.c-btn._pink > a {
  background-color: #e4007f !important;
}

/* Keyboard focus remains visible without changing control geometry. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-color: #ffffff !important;
}


/* Reference-style full-screen video hero */
.p-mv {
  display: none !important;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#cando {
  scroll-margin-top: 100px;
}

.video-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  isolation: isolate;
  background: #111111;
}

.video-hero__media,
.video-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-hero__media {
  z-index: 0;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
  object-position: center center;
}

.video-hero__overlay {
  z-index: 1;
  pointer-events: none;
  background: rgba(4, 6, 24, 0.18);
}

.video-hero__logo {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  width: clamp(280px, 34vw, 520px);
  max-width: 82vw;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  background: transparent;
  box-shadow: none;
}

.video-hero__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.5));
}

.video-hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  transform: translateX(-50%);
  color: #ffffff !important;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.video-hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  background: currentColor;
  animation: video-hero-scroll 1.8s ease-in-out infinite;
}

@keyframes video-hero-scroll {
  0%,
  100% {
    transform: scaleY(0.25);
    transform-origin: top;
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

.l-header::before {
  display: none !important;
}

.l-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 20 !important;
  width: 100% !important;
  height: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.l-header:not(.is-after-video) .l-header_inner {
  height: 0 !important;
  min-height: 0 !important;
}

.l-header .l-header_gnav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.l-header.is-after-video {
  height: auto !important;
  min-height: 10rem !important;
  background: #111111 !important;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.28) !important;
}

.l-header.is-after-video .l-header_gnav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

@media (max-width: 767.98px) {
    #cando {
    scroll-margin-top: 180px;
  }

  .video-hero {
    min-height: 480px;
  }

  .video-hero__logo {
    width: min(72vw, 320px);
    max-width: none;
  }

  .video-hero__scroll {
    bottom: 18px;
  }

  .l-header.is-after-video {
    min-height: 10rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-hero__scroll::after {
    animation: none;
  }
}
/* Scoped original light-card restorations
 * Only the regions marked in 指示1・指示2・指示3 are restored.
 */
.problem__list > li {
  background-color: #ffffff !important;
  color: #1d2088 !important;
}

.problem__list > li h4 {
  color: #1d2088 !important;
}

.about__box__header {
  background-color: #1d2088 !important;
  color: #ffffff !important;
}

.about__box__header :where(h3, span) {
  color: #ffffff !important;
}

.about__list__img {
  background-color: #ffffff !important;
  color: #1d2088 !important;
}

.merit__list__box {
  background-color: #ededf3 !important;
  color: #1d2088 !important;
}

.merit__list__box li {
  color: #1d2088 !important;
}

.merit__list__box__header,
.merit__list__box__header p {
  color: #ffffff !important;
}

.price__box {
  background-color: #ffffff !important;
  color: #1d2088 !important;
}

.price__box__content,
.price__box__ttl,
.price__box__main,
.price .btm_text {
  color: #1d2088 !important;
}

.price__box__main {
  background-color: #ededf3 !important;
}

.price__box__header,
.price__box__header h3 {
  color: #ffffff !important;
}

/* ---- deca-color-instruction-1 ---- */
.problem .problem__list::after {
  background-color: #e4007f !important;
}

.problem .problem__ttl {
  color: #ffffff !important;
}

/* ---- deca-header-cta-hover ---- */
.l-header .l-header_gnav_btn > a {
  pointer-events: auto !important;
  transition: background-color 0.35s ease, border-color 0.35s ease !important;
}

.l-header .l-header_gnav_btn .c-btn__txt {
  transition: color 0.35s ease !important;
}

.l-header .l-header_gnav_btn._pink > a {
  background-color: #e4007f !important;
  border-color: #e4007f !important;
}

.l-header .l-header_gnav_btn._pink .c-btn__txt {
  color: #ffffff !important;
}

.l-header .l-header_gnav_btn._pink > a:hover {
  background-color: #ffffff !important;
  border-color: #e4007f !important;
}

.l-header .l-header_gnav_btn._pink > a:hover .c-btn__txt {
  color: #e4007f !important;
}

.l-header .l-header_gnav_btn._navy > a {
  background-color: #1d2088 !important;
  border-color: #1d2088 !important;
}

.l-header .l-header_gnav_btn._navy .c-btn__txt {
  color: #ffffff !important;
}

.l-header .l-header_gnav_btn._navy > a:hover {
  background-color: #ffffff !important;
  border-color: #1d2088 !important;
}

.l-header .l-header_gnav_btn._navy > a:hover .c-btn__txt {
  color: #1d2088 !important;
}

/* ---- deca-mid-cta-hover ---- */
.cv:not(.-re) .cv-btn {
  transition: border-color 0.35s ease !important;
}

.cv:not(.-re) .cv-btn > a {
  transition: background-color 0.35s ease, color 0.35s ease !important;
}

.cv:not(.-re) .cv-btn._arr::after {
  transition: background-color 0.35s ease !important;
}

.cv:not(.-re) .cv-btn._pink {
  border-color: #e4007f !important;
}

.cv:not(.-re) .cv-btn._pink > a {
  background-color: #e4007f !important;
  color: #ffffff !important;
}

.cv:not(.-re) .cv-btn._pink:hover > a {
  background-color: #ffffff !important;
  color: #e4007f !important;
}

.cv:not(.-re) .cv-btn._pink._arr::after {
  background-color: #ffffff !important;
}

.cv:not(.-re) .cv-btn._pink:hover._arr::after {
  background-color: #e4007f !important;
}

.cv:not(.-re) .cv-btn._navy {
  border-color: #1d2088 !important;
}

.cv:not(.-re) .cv-btn._navy > a {
  background-color: #1d2088 !important;
  color: #ffffff !important;
}

.cv:not(.-re) .cv-btn._navy:hover > a {
  background-color: #ffffff !important;
  color: #1d2088 !important;
}

.cv:not(.-re) .cv-btn._navy._arr::after {
  background-color: #ffffff !important;
}

.cv:not(.-re) .cv-btn._navy:hover._arr::after {
  background-color: #1d2088 !important;
}

/* ---- deca-cando-cards ---- */
#cando .check-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch !important;
  width: 100%;
  max-width: 124rem;
  margin: 6.5rem auto 0 !important;
  gap: 2.4rem;
}

#cando .check-list .check-list__item {
  display: flex !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0;
  padding: 3.6rem 2.4rem 3.8rem;
  border: 1px solid transparent;
  border-radius: 1.2rem;
  box-sizing: border-box;
  background:
    linear-gradient(#17181e, #17181e) padding-box,
    linear-gradient(135deg, rgba(106, 112, 255, 0.72), rgba(228, 0, 127, 0.62)) border-box;
  color: #ffffff !important;
  text-align: left !important;
  box-shadow: none;
}

#cando .check-list .check-list__item__ttl {
  position: relative;
  width: 100% !important;
  min-height: 21rem;
  margin: 0 !important;
  padding: 7rem 0 3rem !important;
  box-sizing: border-box;
  color: #ffffff !important;
  font-size: clamp(2.2rem, 1.8vw, 2.8rem) !important;
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-decoration: none !important;
}

#cando .check-list .check-list__item__ttl::before {
  top: 0 !important;
  left: 0 !important;
  width: 5.3rem !important;
  height: 4.4rem !important;
}

#cando .check-list .check-list__item__ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6.4rem;
  height: 2px;
  background: linear-gradient(90deg, #e4007f 0 28%, #ffffff 28% 70%, #4b8cff 70% 100%);
}

#cando .check-list .check-list__item__ttl .-min {
  display: block;
  margin-top: 0.6rem;
  color: #d0d0d0 !important;
  font-size: 1.8rem !important;
  font-weight: 500;
  line-height: 1.5;
}

#cando .check-list .check-list__item:nth-child(1) .check-list__item__ttl::before {
  display: none;
}

#cando .check-list .check-list__item:nth-child(2) .check-list__item__ttl::before {
  display: none;
}

#cando .check-list .check-list__item:nth-child(3) .check-list__item__ttl::before {
  display: none;
}

#cando .cando-card__badge {
  position: absolute;
  top: 0.4rem;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11rem;
  min-height: 3.6rem;
  padding: 0.4rem 1.4rem;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #e4007f 0%, #1d2088 42%, #1d2088 58%, #00a0e9 100%);
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

#cando .check-list .check-list__item > p {
  width: 100%;
  margin: 2.4rem 0 0 !important;
  color: #d0d0d0 !important;
  font-size: 1.6rem !important;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
  text-align: left;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  #cando .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #cando .check-list .check-list__item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 1.2rem) !important;
  }
}

@media (min-width: 1024px) {
  #cando .check-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #cando .check-list .check-list__item {
    min-height: 35rem;
  }
}

@media (max-width: 767.98px) {
  #cando .check-list {
    width: calc(100% - 6.4rem);
    margin-top: 4.5rem !important;
    gap: 3rem;
  }

  #cando .check-list .check-list__item {
    min-height: 48rem;
    padding: 6rem 4rem;
  }

  #cando .check-list .check-list__item__ttl {
    min-height: 24rem;
    padding-top: 6.4rem !important;
    padding-bottom: 2.6rem !important;
    font-size: 3rem !important;
  }

  #cando .check-list .check-list__item__ttl .-min {
    font-size: 2.2rem !important;
  }

  #cando .cando-card__badge {
    top: 0.3rem;
    left: 0;
    min-height: 4.4rem;
    padding: 0.8rem 2rem;
    font-size: 1.8rem !important;
  }

  #cando .check-list .check-list__item > p {
    font-size: 2.4rem !important;
    line-height: 1.7;
  }
}
