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

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

.c-route-section * {
  user-select: none;
}

.c-route-section p,
.c-route-section ul,
.c-route-section li,
.c-route-section h2,
.c-route-section ol,
.c-route-section label,
.c-route-section input {
  margin: 0;
}

.c-route-section .c-route-section__container {
  position: relative;
  max-width: var(--etest-content-max-width, 1440px);
  margin-inline: auto;
  overflow: visible;
  width: calc(100% - 32px);
  display: flex;
  flex-direction: column;

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

.c-route-section .c-route-section__heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: calc(12 * var(--etest-section-unit));

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

.c-route-section .c-route-section__title {
  font-weight: 700;
  color: #0e0e0e;
  text-align: center;
  font-size: calc(28 * var(--etest-section-unit));
  
  @media (min-width: 1024px) {
    font-size: calc(36 * var(--etest-section-unit));
    line-height: calc(44 * var(--etest-section-unit));
  }
}

.c-route-section .c-route-section__description {
  color: #0e0e0e;
  text-wrap: balance;
  line-height: 1.5;
  font-size: calc(15 * var(--etest-section-unit));
  text-align: justify;

  @media (min-width: 1024px) {
    font-size: calc(18 * var(--etest-section-unit));
    text-align: center;
  }
}

.c-route-section .c-route-section__tab {
  display: flex;
  flex-direction: column;
  row-gap: calc(24 * var(--etest-section-unit));

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

.c-route-section .c-route-section__tab-toggle-list {
  display: flex;
  border-bottom: 1px solid #d6d6d6;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.c-route-section .c-route-section__tab-toggle-list:has(> :only-child) {
  display: none;
}

.c-route-section .c-route-section__tab-toggle-item {
  flex: 1;
  display: grid;
  grid-template-areas: "single";
}

.c-route-section .c-route-section__tab-toggle-separator {
  width: calc(1 * var(--etest-section-unit));
  background-color: #d6d6d6;
  margin-block: calc(17.5 * var(--etest-section-unit));
}

.c-route-section .c-route-section__tab-toggle {
  grid-area: single;
  appearance: none;
}

.c-route-section .c-route-section__tab-toggle-wrapper {
  grid-area: single;
  padding-block: calc(12 * var(--etest-section-unit));
  border-bottom-style: solid;
  border-bottom-width: calc(1 * var(--etest-section-unit));
  border-bottom-color: transparent;
  cursor: pointer;

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

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

.c-route-section .c-route-section__tab-toggle-title {
  font-weight: 600;
  color: #0e0e0e;
  text-align: center;
  font-size: calc(15 * var(--etest-section-unit));
  white-space: nowrap;
  padding-inline: calc(24 * var(--etest-section-unit));

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

.c-route-section .c-route-section__tab-toggle:checked + .c-route-section__tab-toggle-wrapper {
  color: #9a1b1d;
  border-bottom-color: #9a1b1d;
}

.c-route-section .c-route-section__tab-toggle:checked + .c-route-section__tab-toggle-wrapper .c-route-section__tab-toggle-title {
  color: #9a1b1d;
}

.c-route-section .c-route-section__tab-content-list {
  display: grid;
  grid-template-columns: 1fr;

  @media (min-width: 1024px) {
  grid-template-columns: 80fr 30fr;
  }
}

.c-route-section .c-route-section__tab-content-item {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  grid-row: 1 / -1;
  column-gap: calc(40 * var(--etest-section-unit));
  width: 100%;

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

.c-route-section .c-route-section__sub-tab {
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  row-gap: calc(16 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-toggle-list-container {
  overflow: hidden;
  max-width: 100%;
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(9999 * var(--etest-section-unit));
  padding: calc(4 * var(--etest-section-unit)) calc(20 * var(--etest-section-unit)) calc(4 * var(--etest-section-unit)) calc(20 * var(--etest-section-unit));
  display: flex;
  align-items: center;
  column-gap: calc(16 * var(--etest-section-unit));
  width: fit-content;

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

.c-route-section .c-route-section__sub-tab-toggle-list-container:has(.c-route-section__sub-tab-toggle-list > :only-child) {
  display: none;
}

.c-route-section .c-route-section__sub-tab-toggle-list-title {
  font-weight: 600;
  color: #0e0e0e;
  white-space: nowrap;
  font-size: calc(15 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-toggle-list-separator {
  width: calc(1 * var(--etest-section-unit));
  padding-block: calc(11.5 * var(--etest-section-unit));
  background-color: #d6d6d6;
}

.c-route-section .c-route-section__sub-tab-toggle-list {
  display: flex;
  column-gap: calc(5 * var(--etest-section-unit));
  flex-wrap: nowrap;
  overflow-x: auto;
}

.c-route-section .c-route-section__sub-tab-toggle-item {
  display: grid;
  grid-template-areas: "single";
}

.c-route-section .c-route-section__sub-tab-toggle {
  grid-area: single;
  appearance: none;
}

.c-route-section .c-route-section__sub-tab-toggle-wrapper {
  grid-area: single;
  border-radius: calc(9999 * var(--etest-section-unit));
  padding: calc(13 * var(--etest-section-unit)) calc(15 * var(--etest-section-unit));
  cursor: pointer;

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

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

.c-route-section .c-route-section__sub-tab-toggle-title {
  font-weight: 600;
  color: #68686d;
  white-space: nowrap;
  font-size: calc(15 * var(--etest-section-unit));
  line-height: calc(18 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-toggle:checked + .c-route-section__sub-tab-toggle-wrapper {
  background-color: #9a1b1d;
}

.c-route-section .c-route-section__sub-tab-toggle:checked + .c-route-section__sub-tab-toggle-wrapper .c-route-section__sub-tab-toggle-title {
  color: #fff;
}

.c-route-section .c-route-section__sub-tab-content-list {
  display: grid;
  grid-template-areas: "single";
}

.c-route-section .c-route-section__sub-tab-content-item {
  grid-area: single;
  display: flex;
  flex-direction: column;
  row-gap: calc(24 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-heading-group {
  display: flex;
  flex-direction: column;
  row-gap: calc(8 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-title {
  color: #0e0e0e;
  font-weight: 700;
  font-size: calc(20 * var(--etest-section-unit));
  line-height: 1.2;
  
  @media (min-width: 1024px) {
    font-size: calc(36 * var(--etest-section-unit));
    line-height: 1.5;
  }
}

.c-route-section .c-route-section__sub-tab-description {
  color: #0e0e0e;
  line-height: 1.5;
  font-size: calc(15 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-information {
  display: flex;
  flex-direction: column;
  row-gap: calc(8 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-heading {
  font-weight: 700;
  color: #0e0e0e;
  font-size: calc(18 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-information-list {
  display: flex;
  flex-direction: column;
  row-gap: calc(8 * var(--etest-section-unit));
  column-gap: calc(48 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    flex-direction: row;
    align-items: center;
  }
}

.c-route-section .c-route-section__sub-tab-information-item {
  display: flex;
  column-gap: calc(16 * var(--etest-section-unit));

  @media (min-width: 1024px) {
    align-items: center;
  }
}

.c-route-section .c-route-section__sub-tab-information-icon {
  flex-shrink: 0;
  widows: 36px;
  height: calc(36 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-text-list {
  display: flex;
  flex-direction: column;
  row-gap: calc(4 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-separator {
  width: calc(1 * var(--etest-section-unit));
  padding-block: calc(20 * var(--etest-section-unit));
  background-color: #d6d6d6;
  display: none;

  @media (min-width: 1024px) {
    display: block;
  }
}

.c-route-section .c-route-section__sub-tab-mission-list {
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(20 * var(--etest-section-unit));
  display: flex;
  flex-direction: column;
  padding: calc(16 * var(--etest-section-unit));
  row-gap: calc(12 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-mission-item {
  display: flex;
  column-gap: calc(12 * var(--etest-section-unit));
}

.c-route-section .c-route-section__sub-tab-mission-separator {
  height: calc(1 * var(--etest-section-unit));
  background-color: #d6d6d6;
}

.c-route-section .c-route-section__sub-tab-video-list {
  display: grid;
  grid-template-areas: "single";
  padding-bottom: calc(10 * var(--etest-section-unit));
  padding-right: calc(10 * var(--etest-section-unit));
  margin-bottom: calc(10 * var(--etest-section-unit));
  margin-right: calc(-10 * var(--etest-section-unit));
}

.c-route-section .c-route-section__sub-tab-video-item {
  width: 100%;
  grid-area: single;
  display: flex;
  flex-direction: column;
  row-gap: calc(12 * var(--etest-section-unit));
  padding: calc(16 * var(--etest-section-unit));
  height: fit-content;
  box-shadow: calc(0 * var(--etest-section-unit)) calc(3 * var(--etest-section-unit)) calc(8 * var(--etest-section-unit)) calc(0 * var(--etest-section-unit)) rgba(0, 0, 0, 0.1);
  border-radius: calc(20 * var(--etest-section-unit));
  width: 100%;
  
  @media (min-width: 1024px) {
    row-gap: calc(12 * var(--etest-section-unit));
    padding: calc(24 * var(--etest-section-unit)) calc(24 * var(--etest-section-unit));
    margin-bottom: calc(-10 * var(--etest-section-unit));
    margin-right: calc(-10 * var(--etest-section-unit));
  }
}

.c-route-section .c-route-section__sub-tab-video-title {
  font-weight: 700;
  color: #0e0e0e;
  font-size: calc(18 * var(--etest-section-unit));

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

.c-route-section .c-route-section__sub-tab-video-container {
  /* flex: 1; */
  display: grid;
  grid-template-areas: "single";
  border-radius: calc(16 * var(--etest-section-unit));
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-color: #000;
  aspect-ratio: 9 / 16;
}

.c-route-section .c-route-section__sub-tab-video-container iframe {
  grid-area: single;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 2;
}

.c-route-section .c-route-section__sub-tab-video-thumbnail {
  aspect-ratio: 9 / 16;
  grid-area: single;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.c-route-section .c-route-section__sub-tab-video-overlay {
  grid-area: single;
  background-color: rgba(0, 0, 0, 0.4);
}

.c-route-section .c-route-section__sub-tab-video-icon-container {
  grid-area: single;
  display: grid;
  place-content: center;
}

.c-route-section .c-route-section__sub-tab-video-link {
  background-color: #9a1b1d;
  border-radius: calc(9999 * var(--etest-section-unit));
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: calc(4 * var(--etest-section-unit));
  font-weight: 600;
  color: #fff;
  padding-block: calc(12 * var(--etest-section-unit));
  font-size: calc(14 * var(--etest-section-unit)); 

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

.c-route-section .c-route-section__tab-content-item-list {
  display: grid;
  width: 100%;
  gap: calc(24 * var(--etest-section-unit));
  grid-template-columns: repeat(1, 1fr);

  @media (min-width: 1024px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.c-route-section .c-route-section__tab-content-item-link {
  display: flex;
  flex-direction: column;
  row-gap: calc(12 * var(--etest-section-unit));
  height: 100%;
  flex: 1;

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

.c-route-section .c-route-section__tab-content-picture {
  aspect-ratio: 464 / 309;
  border-radius: calc(20 * var(--etest-section-unit));
  overflow: hidden;
}

.c-route-section .c-route-section__tab-content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-route-section__tab-content-item.c-route-section__tab-content-item--variation-a {
  grid-template-columns: 1fr;
}

.c-route-section .c-route-section__tab-content-heading-group {
  display: flex;
  flex-direction: column;
  row-gap: calc(8 * var(--etest-section-unit));
  color: #0e0e0e;
}

.c-route-section .c-route-section__tab-content-title {
  font-weight: 700;
  font-size: calc(15 * var(--etest-section-unit));
  line-height: 1.5;

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

.c-route-section .c-route-section__tab-content-description {
  line-height: 1.5;
  font-size: calc(15 * var(--etest-section-unit));

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

.c-route-section .c-route-section__tab-content-button {
  border: calc(1 * var(--etest-section-unit)) solid #d6d6d6;
  border-radius: calc(9999 * var(--etest-section-unit));
  display: flex;
  align-items: center;
  column-gap: calc(4 * var(--etest-section-unit));
  font-weight: 600;
  width: fit-content;
  padding: calc(12 * var(--etest-section-unit)) calc(24 * var(--etest-section-unit));
  margin-top: auto;
  font-size: calc(14 * var(--etest-section-unit));
  
  @media (min-width: 1024px) {
    font-size: calc(16 * var(--etest-section-unit));
  }
}

.c-route-section__tab-content-item-link-container {
  height: 100%;
}

.c-route-section__sub-tab-mission-icon {
  flex-shrink: 0;
  width: calc(20 * var(--etest-section-unit));
  height: calc(20 * var(--etest-section-unit));
}
