.c-reason-section {
  padding-block-start: calc(40 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    padding-block-start: calc(80 * var(--etest-section-unit));
  }
}

.c-reason-section p,
.c-reason-section ul,
.c-reason-section ol {
  margin-block-end: 0;
}

.c-reason-section h2,
.c-reason-section button {
  margin: 0;
}

.c-reason-section .c-reason-section__container {
  max-width: var(--etest-content-max-width, 1440px);
  margin-inline: auto;
  background: #fff;
  width: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  row-gap: calc(16 * var(--etest-section-unit));

  @media (767px < width) {
    width: calc(100% - 48px);
    row-gap: calc(32 * var(--etest-section-unit));
    padding: calc(10 * var(--etest-section-unit));
  }
}

.c-reason-section .c-reason-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-reason-section .c-reason-section__title {
  font-weight: 700;
  color: #0e0e0e;
  text-wrap: balance;
  font-size: calc(28 * var(--etest-section-unit));
  line-height: 1.2;

  @media (min-width: 1024px) {
    font-size: calc(42 * var(--etest-section-unit));
    line-height: 1.5;
  }
}

.c-reason-section .c-reason-section__swiper {
  width: 100%;
}

.c-reason-section .c-reason-section__swiper-navigation-list {
  display: flex;
  column-gap: calc(8 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    column-gap: calc(16 * var(--etest-section-unit));
  }
}

.c-reason-section .c-reason-section__swiper-navigation {
  width: calc(40 * var(--etest-section-unit));
  height: calc(40 * var(--etest-section-unit));
  display: grid;
  place-content: center;
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(44 * var(--etest-section-unit));
  color: #68686d;

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s; 
  }

  @media (min-width: 1024px) {
    width: calc(44 * var(--etest-section-unit));
    height: calc(44 * var(--etest-section-unit));
  }

  &:hover {
    background-color: #9a1b1d;
    border: calc(1 * var(--etest-section-unit)) solid #9a1b1d;
    color: #fff;
  }
}

.c-reason-section .c-reason-section__reason-item {
  display: grid;
  grid-template-areas: "single";
  border-radius: calc(20 * var(--etest-section-unit));
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.c-reason-section .c-reason-section__picture {
  grid-area: single;
  aspect-ratio: 1;
}

.c-reason-section .c-reason-section__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-reason-section .c-reason-section__content-container {
  grid-area: single;
  display: flex;
  align-items: end;
}

.c-reason-section .c-reason-section__content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border-top-right-radius: calc(16 * var(--etest-section-unit));
  border-width: calc(3 * var(--etest-section-unit)) calc(3 * var(--etest-section-unit)) calc(0 * var(--etest-section-unit)) calc(0 * var(--etest-section-unit));
  border-style: solid;
  border-top-color: transparent;
  border-right-color: transparent;
  padding: calc(12 * var(--etest-section-unit));
  width: calc(240 * var(--etest-section-unit));

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s;
  }

  @media (min-width: 1024px) {
    padding: calc(16 * var(--etest-section-unit));
    width: calc(360 * var(--etest-section-unit));
  }
}

.c-reason-section .c-reason-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-reason-section .c-reason-section__reason-item-header {
  font-weight: 700;
  color: #0e0e0e;
  text-wrap: balance;
  line-height: calc(18 * var(--etest-section-unit));
  font-size: calc(15 * var(--etest-section-unit));

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s;
  }

  @media (min-width: 1024px) {
    line-height: 1.5;
    font-size: calc(18 * var(--etest-section-unit));
  }
}

.c-reason-section .c-reason-section__accordion {
  display: grid;
  grid-template-rows: 0fr;

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s;
  }
}

.c-reason-section .c-reason-section__accordion-content {
  min-height: 0;
  overflow-y: hidden;
}

.c-reason-section .c-reason-section__content:hover {
  background-color: #9a1b1d;
  border-top-color: #fff;
  border-right-color: #fff;
}

.c-reason-section .c-reason-section__content:hover .c-reason-section__accordion {
  grid-template-rows: 1fr;
}

.c-reason-section .c-reason-section__content:hover .c-reason-section__reason-item-header {
  color: #fff;
}

.c-reason-section .c-reason-section__accordion-content {
  color: #fff;
  line-height: 1.5;
  text-wrap: balance;
}

.c-reason-section .c-reason-section__icon {
  width: calc(36 * var(--etest-section-unit));
  height: calc(36 * var(--etest-section-unit));

  @media (prefers-reduced-motion: no-preference) {
    transition: all 0.3s;
  }

  @media (min-width: 1024px) {
    width: calc(44 * var(--etest-section-unit));
    height: calc(44 * var(--etest-section-unit));
  }
}

.c-reason-section .c-reason-section__content:hover .c-reason-section__icon {
  opacity: 0;
}
