.cg-care-page {
  background: #ffffff;
  color: #151515;
}

.has-care-reveal [data-cg-care-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--cg-care-reveal-delay, 0ms);
}

.has-care-reveal [data-cg-care-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.cg-care-eyebrow {
  color: #4f7f00;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.cg-care-section-line {
  background: #b1ff29;
  border-radius: 999px;
  display: block;
  height: 3px;
  margin-top: 28px;
  width: 72px;
}

.cg-care-intro {
  background: #ffffff;
  padding: 104px 0 88px;
}

.cg-care-intro__grid {
  align-items: start;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
}

.cg-care-intro__heading {
  max-width: 520px;
}

.cg-care-intro__title,
.cg-care-types__title,
.cg-care-form__title,
.cg-care-confirmation__title {
  color: #151515;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.cg-care-intro__title {
  font-size: clamp(34px, 4vw, 52px);
}

.cg-care-intro__content {
  color: #5d636b;
  font-size: 18px;
  line-height: 1.78;
  max-width: 780px;
}

.cg-care-intro__content p {
  margin: 0;
}

.cg-care-intro__content p + p {
  margin-top: 20px;
}

.cg-care-types {
  background: #f6f7f4;
  border-top: 1px solid rgba(216, 221, 211, 0.78);
  padding: 104px 0 110px;
}

.cg-care-types__heading {
  margin: 0 auto 54px;
  max-width: 780px;
  text-align: center;
}

.cg-care-types__title {
  font-size: clamp(32px, 3.6vw, 50px);
}

.cg-care-types__description {
  color: #5d636b;
  font-size: 18px;
  line-height: 1.68;
  margin: 22px auto 0;
  max-width: 680px;
}

.cg-care-type-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cg-care-type-card {
  background: #ffffff;
  border: 1px solid #d8ddd3;
  color: #151515;
  cursor: pointer;
  display: grid;
  min-height: 255px;
  padding: 28px;
  position: relative;
  text-align: left;
  transition:
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.cg-care-type-card::before {
  background: #b1ff29;
  content: "";
  height: 3px;
  left: 28px;
  position: absolute;
  top: -1px;
  transform: scaleX(0.55);
  transform-origin: left;
  transition: transform 300ms ease;
  width: 54px;
}

.cg-care-type-card:hover {
  transform: translateY(-3px);
}

.cg-care-type-card:hover,
.cg-care-type-card:focus-visible,
.cg-care-type-card.is-active {
  border-color: rgba(177, 255, 41, 0.95);
}

.cg-care-type-card:focus-visible {
  outline: 3px solid rgba(177, 255, 41, 0.42);
  outline-offset: 4px;
}

.cg-care-type-card.is-active {
  background: rgba(177, 255, 41, 0.09);
  box-shadow: 0 18px 42px rgba(10, 10, 10, 0.08);
}

.cg-care-type-card:hover::before,
.cg-care-type-card.is-active::before {
  transform: scaleX(1);
}

.cg-care-type-card__top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cg-care-type-card__number {
  color: #4f7f00;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.cg-care-type-card__icon {
  align-items: center;
  background: rgba(177, 255, 41, 0.18);
  color: #151515;
  display: inline-flex;
  font-size: 21px;
  height: 46px;
  justify-content: center;
  transition: background-color 260ms ease, transform 260ms ease;
  width: 46px;
}

.cg-care-type-card:hover .cg-care-type-card__icon,
.cg-care-type-card.is-active .cg-care-type-card__icon {
  background: #b1ff29;
  transform: scale(1.04);
}

.cg-care-type-card__title {
  color: #151515;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
}

.cg-care-type-card__description {
  color: #5d636b;
  font-size: 16px;
  line-height: 1.62;
  margin-top: 16px;
}

.cg-care-type-card__indicator {
  align-items: center;
  background: #0a0a0a;
  color: #b1ff29;
  display: inline-flex;
  font-size: 12px;
  height: 26px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  transform: scale(0.86);
  transition: opacity 220ms ease, transform 220ms ease;
  width: 26px;
}

.cg-care-type-card.is-active .cg-care-type-card__indicator {
  opacity: 1;
  transform: scale(1);
}

.cg-care-form-section {
  background: #ffffff;
  padding: 100px 0 108px;
}

.cg-care-form {
  background: #ffffff;
  border: 1px solid #d8ddd3;
  box-shadow: 0 22px 58px rgba(10, 10, 10, 0.06);
  margin: 0 auto;
  max-width: 1120px;
  padding: 56px;
}

.cg-care-form__header {
  margin-bottom: 36px;
  max-width: 760px;
}

.cg-care-form__title {
  font-size: clamp(32px, 3.4vw, 48px);
}

.cg-care-form__description {
  color: #5d636b;
  font-size: 17px;
  line-height: 1.68;
  margin: 20px 0 0;
}

.cg-care-form__notice {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 32px;
  padding: 16px 18px;
}

.cg-care-form__notice strong {
  color: #b1ff29;
  font-weight: 700;
}

.cg-care-alert {
  border-left: 3px solid #b1ff29;
  margin-bottom: 28px;
  padding: 16px 18px;
}

.cg-care-alert--error {
  background: #fff6f6;
  color: #831f1f;
}

.cg-care-error {
  color: #831f1f;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.cg-care-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.cg-care-form__group {
  border: 0;
  border-top: 1px solid #d8ddd3;
  margin: 0;
  padding: 34px 0 0;
}

.cg-care-form__group + .cg-care-form__group {
  margin-top: 34px;
}

.cg-care-form__group legend {
  align-items: center;
  color: #151515;
  display: inline-flex;
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  gap: 14px;
  line-height: 1.2;
  margin-bottom: 22px;
  padding: 0;
}

.cg-care-form__group legend::before {
  background: #b1ff29;
  border-radius: 999px;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 3px;
  width: 38px;
}

.cg-care-form__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cg-care-form__grid--attention {
  align-items: start;
}

.cg-care-form__grid--attention .cg-care-field {
  align-content: start;
  min-height: 100%;
}

@media (min-width: 1024px) {
  .cg-care-form__grid--attention .cg-care-field > span {
    align-items: center;
    height: 24px;
    line-height: 1.35;
  }
}

.cg-care-form__grid--attention .cg-care-field--office {
  order: 3;
}

.cg-care-form__grid--attention [data-cg-care-other-area] {
  order: 4;
}

.cg-care-field {
  display: grid;
  gap: 10px;
}

.cg-care-field span,
.cg-care-check span {
  align-items: baseline;
  color: #151515;
  display: inline-flex;
  gap: 8px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
}

.cg-care-field span em {
  color: #5d636b;
  font-family: var(--body-font);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.cg-care-field input,
.cg-care-field select,
.cg-care-field textarea {
  background: #ffffff;
  border: 1px solid #d8ddd3;
  border-radius: 6px;
  color: #151515;
  font-size: 16px;
  line-height: 1.4;
  min-height: 52px;
  padding: 0 16px;
  transition: border-color 220ms ease, box-shadow 220ms ease;
  width: 100%;
}

.cg-care-field input,
.cg-care-field select {
  height: 52px;
}

.cg-care-field select {
  appearance: auto;
  line-height: 1.4;
}

.cg-care-field textarea {
  line-height: 1.65;
  min-height: 180px;
  padding: 14px 16px;
  resize: vertical;
}

.cg-care-field small,
.cg-care-helper,
.cg-care-form__development-note {
  color: #5d636b;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.cg-care-field input:focus,
.cg-care-field select:focus,
.cg-care-field textarea:focus,
.cg-care-upload input:focus-visible + label {
  border-color: #b1ff29;
  box-shadow: 0 0 0 3px rgba(177, 255, 41, 0.2);
  outline: none;
}

.cg-care-options {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.cg-care-check {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.cg-care-check input {
  accent-color: #b1ff29;
  flex: 0 0 auto;
  height: 18px;
  margin-top: 3px;
  width: 18px;
}

.cg-care-check input:focus-visible {
  outline: 2px solid #b1ff29;
  outline-offset: 3px;
}

.cg-care-helper.is-hidden,
.cg-care-field.is-hidden,
.cg-care-check.is-hidden {
  display: none;
}

.cg-care-satisfaction {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cg-care-satisfaction__option input {
  position: absolute;
  opacity: 0;
}

.cg-care-satisfaction__option span {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8ddd3;
  border-radius: 6px;
  color: #151515;
  cursor: pointer;
  display: grid;
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-items: center;
  min-height: 112px;
  padding: 16px 10px;
  text-align: center;
  transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.cg-care-satisfaction__option i {
  color: #151515;
  font-size: 26px;
}

.cg-care-satisfaction__option:hover span,
.cg-care-satisfaction__option input:focus-visible + span {
  border-color: #b1ff29;
}

.cg-care-satisfaction__option input:focus-visible + span {
  outline: 3px solid rgba(177, 255, 41, 0.38);
  outline-offset: 3px;
}

.cg-care-satisfaction__option input:checked + span {
  background: rgba(177, 255, 41, 0.12);
  border-color: #b1ff29;
  transform: scale(1.02);
}

.cg-care-upload input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.cg-care-upload label {
  align-items: center;
  background: #f6f7f4;
  border: 1px dashed #b9c0b1;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  justify-items: center;
  min-height: 190px;
  padding: 30px;
  text-align: center;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.cg-care-upload label:hover,
.cg-care-upload.is-dragging label {
  background: rgba(177, 255, 41, 0.1);
  border-color: #b1ff29;
}

.cg-care-upload i {
  color: #4f7f00;
  font-size: 34px;
}

.cg-care-upload span {
  color: #151515;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
}

.cg-care-upload small {
  color: #5d636b;
  font-size: 14px;
  line-height: 1.52;
  max-width: 620px;
}

.cg-care-upload__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0 12px;
  padding: 0;
}

.cg-care-upload__item {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8ddd3;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.cg-care-upload__item span {
  color: #151515;
  font-size: 14px;
  line-height: 1.35;
}

.cg-care-upload__item button {
  background: #0a0a0a;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  min-height: 36px;
  padding: 0 12px;
  transition: background-color 220ms ease, color 220ms ease;
}

.cg-care-upload__item button:hover,
.cg-care-upload__item button:focus-visible {
  background: #b1ff29;
  color: #000000;
  outline: none;
}

.cg-care-form__actions {
  align-items: center;
  border-top: 1px solid #d8ddd3;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 34px;
}

.cg-care-submit {
  align-items: center;
  background: #b1ff29;
  border: 0;
  color: #000000;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  transition: background-color 220ms ease, transform 220ms ease;
  white-space: nowrap;
}

.cg-care-submit:hover,
.cg-care-submit:focus-visible {
  background: #9eeb18;
  outline: none;
  transform: translateY(-2px);
}

.cg-care-submit:active {
  background: #8bd311;
}

.cg-care-submit:disabled {
  cursor: progress;
  opacity: 0.74;
  transform: none;
}

.cg-care-confirmation {
  background: #f6f7f4;
  padding: 88px 0;
  scroll-margin-top: 140px;
}

.cg-care-confirmation__inner {
  border-top: 1px solid #d8ddd3;
  max-width: 760px;
  padding-top: 34px;
}

.cg-care-confirmation__title {
  font-size: clamp(30px, 3vw, 44px);
}

.cg-care-confirmation__inner p {
  color: #5d636b;
  font-size: 17px;
  line-height: 1.68;
  margin: 20px 0 0;
}

.cg-care-confirmation__code {
  color: #151515;
  font-family: var(--heading-font);
  font-weight: 700;
}

.cg-care-confirmation__button {
  align-items: center;
  background: #b1ff29;
  color: #000000;
  display: inline-flex;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  margin-top: 28px;
  min-height: 54px;
  padding: 0 24px;
  transition: background-color 220ms ease, transform 220ms ease;
}

.cg-care-confirmation__button:hover,
.cg-care-confirmation__button:focus-visible {
  background: #9eeb18;
  color: #000000;
  outline: 3px solid rgba(177, 255, 41, 0.36);
  outline-offset: 4px;
  transform: translateY(-2px);
}

@media (min-width: 1200px) {
  .cg-care-intro__content {
    hyphens: none;
    overflow-wrap: normal;
    text-align: justify;
    text-justify: inter-word;
    word-break: normal;
  }
}

@media (max-width: 1199px) {
  .cg-care-intro,
  .cg-care-types,
  .cg-care-form-section {
    padding: 88px 0;
  }

  .cg-care-intro__grid {
    gap: 48px;
  }

  .cg-care-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-care-satisfaction {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .cg-care-intro__grid,
  .cg-care-form__grid {
    grid-template-columns: 1fr;
  }

  .cg-care-form__grid--attention .cg-care-field--office {
    order: 4;
  }

  .cg-care-form__grid--attention [data-cg-care-other-area] {
    order: 3;
  }

  .cg-care-form {
    padding: 44px;
  }
}

@media (max-width: 767px) {
  .cg-care-confirmation {
    scroll-margin-top: 92px;
  }

  .has-care-reveal [data-cg-care-reveal] {
    transform: translateY(12px);
    transition-duration: 520ms;
  }

  .cg-care-intro,
  .cg-care-types,
  .cg-care-form-section {
    padding: 68px 0;
  }

  .cg-care-type-grid,
  .cg-care-satisfaction {
    grid-template-columns: 1fr;
  }

  .cg-care-type-card {
    min-height: auto;
    padding: 26px;
  }

  .cg-care-form {
    border-left: 0;
    border-right: 0;
    max-width: none;
    box-shadow: none;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding: 36px 22px;
  }

  .cg-care-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cg-care-submit {
    width: 100%;
  }

  .cg-care-upload label {
    min-height: 170px;
    padding: 26px 18px;
  }

  .cg-care-field span,
  .cg-care-check span {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-cg-care-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cg-care-type-card,
  .cg-care-type-card::before,
  .cg-care-type-card__icon,
  .cg-care-type-card__indicator,
  .cg-care-satisfaction__option span,
  .cg-care-submit,
  .cg-care-confirmation__button,
  .cg-care-upload label {
    transition: none;
  }

  .cg-care-type-card:hover,
  .cg-care-satisfaction__option input:checked + span,
  .cg-care-submit:hover,
  .cg-care-submit:focus-visible,
  .cg-care-confirmation__button:hover,
  .cg-care-confirmation__button:focus-visible {
    transform: none;
  }
}
