.home-header-container {
  width: 100%;
  height: 51.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-header {
  width: 100%;
  height: 40rem;
  position: relative;
  overflow: hidden;
}

.home-header .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-header span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.8rem;
  font-weight: 500;
  text-align: center;
  line-height: 4rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.ticket-container {
  display: flex;
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.ticket-box {
  max-width: 120rem;
  min-height: 20rem;
  background: white;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.1);
  border-radius: 1.6rem;
  border: 1px solid #e5e5e5;
  padding: 3.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

/* 상단 탭 */
.ticket-type {
  align-self: stretch;
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.ticket-tab {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  overflow: hidden;
  cursor: pointer;
}

/* 활성화 상태 */
.ticket-tab.active .ticket-label {
  color: var(--Primary-Strong, #4c0b2a);
  font-weight: 600;
  cursor: pointer;
}

.ticket-tab.active .ticket-underline {
  background: var(--Border-Primary-Strong, #b4226a);
}

/* 비활성 상태 */
.ticket-tab:not(.active) .ticket-label {
  color: var(--Text-alternative, rgba(50, 48, 53, 0.6));
  font-weight: 400;
}

.ticket-tab:not(.active) .ticket-underline {
  background: none;
}

/* 텍스트 영역 */
.ticket-label {
  padding: 0 2rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.6rem;
  line-height: 2.6rem;
  word-wrap: break-word;
}

/* 하단 라인 */
.ticket-underline {
  align-self: stretch;
  height: 0.2rem;
}

/* 폼 영역 */
.ticket-form {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
}

.station-select {
  width: 45.6rem;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}

.station,
.station-in_text {
  width: 16rem;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 3.6rem;
  cursor: pointer;
}

.station {
  color: rgba(50, 48, 53, 0.4);
}

.station-content {
  padding: 0 1.6rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.station-box {
  display: flex;
  height: 5.6rem;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.station-box:hover span {
  color: rgba(50, 48, 53, 0.8);
  font-weight: 600;
}

.station-box span {
  color: rgba(50, 48, 53, 0.6);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
}

.change-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4d4d4;
  border-radius: 999.9rem;
  background: #fff;
  width: 4rem;
  height: 4rem;
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.station-bookmarks-content {
  display: flex;
  flex-direction: column;
}

.station-bookmarks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.4rem;
}

.mark-text1 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
}

.mark-text2 {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2rem;
  color: rgba(40, 48, 53, 0.6);
  cursor: pointer;
}

.mark-text2:hover {
  font-weight: 600;
  color: rgba(40, 48, 53, 0.8);
}

.mark-content {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid #e5e5e5;
}

.mark-start_end {
  display: flex;
  padding: 0.75rem 0.8rem 0.75rem 1.6rem;
  align-items: center;
  background-color: rgba(245, 245, 245, 0.5);
  height: 4.8rem;
  min-width: 13.4rem;
  border-radius: 0.8rem;
  justify-content: space-between;
}

.mark-start_end button {
  border: none;
  background: none;
  width: 3.2rem;
  height: 3.2rem;
  cursor: pointer;
}

.start-end-text {
  display: flex;
  gap: 0.3rem;
}

.area-tab {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: 4.8rem;
}

.tab-li {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.6rem;
  color: rgba(50, 48, 53, 0.6);
  cursor: pointer;
}

.area-tab-active {
  color: #d03284;
}

.area-tab li:hover {
  color: #d03284;
}

.divider {
  width: 0.1rem;
  align-self: stretch;
  background: var(--Boder-Default-normal, #d4d4d4);
}

.kh-container {
  display: flex;
  flex-direction: column;
  padding-top: 1.6rem;
}

.kh-wrapper {
  display: flex;
  gap: 16px;
}

.kh-alphabet-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 1rem;
}

.kh-alphabet {
  height: 4rem;
  min-height: 4rem;
  padding: 0.4rem 1.7rem;
  border-radius: 999.9rem;
  border: 1px solid #d4d4d4;
  color: #8c1d52;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  cursor: pointer;
}

.kh-alphabet:hover,
.kh-alphabet-active {
  background: rgba(50, 48, 53, 0.1);
  border: 1px solid #a1a1a1;
}

.kh-station-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  width: 100%;
  max-height: 14rem;
  overflow-y: auto;
  padding-right: 4px;
}

.kh-station {
  flex: 1 1 0;
  min-width: 11.3rem;
  max-width: 12.2rem;
  height: 4.8rem;
  padding: 1.6rem 1.4rem;
  border-radius: 0.6rem;
  background: rgba(245, 245, 245, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.kh-station:hover,
.kh-station-active {
  border: 1px solid #b4226a;
  background-color: #e2c3d0;
}

.kh-station:hover .kh-station-name,
.kh-station-active .kh-station-name {
  color: #8c1d52;
}

.kh-station-name {
  font-size: 16px;
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 500;
  line-height: 26px;
  color: #3a3a3c;
}

.kh-station-dot {
  width: 6px;
  height: 6px;
  background: #8c1d52;
  border-radius: 9999px;
}

.change {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
  gap: 0.4rem;
}

.dot-group {
  display: flex;
  gap: 0.3rem;
}

.exchange-btn {
  width: 4.8rem;
  height: 4.8rem;
  border: 1px solid #d4d4d4;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exchange-btn:hover,
.change-btn:hover {
  border: 1px solid #9e9e9e;
}

/* 구분선 */
.divider {
  width: 0.1rem;
  height: 5.6rem;
  background: #e5e5e5;
}

/* 날짜 및 인원 */
.date-select,
.people-select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid none;
}

.date-select {
  width: 26.1rem;
}

.people-select {
  width: 18.8rem;
}

/* 너비 전용 클래스 */
.floating--wide {
  width: 64.4rem;
  z-index: 2;
}

.floating--medium {
  width: 44rem;
  z-index: 1;
}

.floating {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.1rem;
  background: white;
  border-radius: 1.6rem;
  box-shadow: 0 20px 24px -4px rgba(16, 24, 40, 0.08),
    0 8px 8px -4px rgba(16, 24, 40, 0.03);
}

.dropdown-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.8rem;
}

.dropdown-title span {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 3.6rem;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 2.8rem 4rem;
}

.hr {
  width: 0.1rem;
  height: 1.6rem;
  background: #d4d4d4;
}

.person-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0rem;
  height: 7rem;
}

.person-info {
  display: flex;
  flex-direction: column;
}

.person-name {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  position: relative;
}

.person-age {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2.6rem;
  color: rgba(50, 48, 53, 0.6);
}

.counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.6rem;
  width: 10rem;
  height: 4.4rem;
  box-sizing: border-box;
}

.counter button {
  border: none;
  background: none;
  width: 2rem;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  cursor: pointer;
}

.counter .count {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
  text-align: center;
  width: 2.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.count.disabled {
  color: var(--Text-disable, rgba(50, 48, 53, 0.16));
}

.dropdown-footer {
  display: flex;
  justify-content: center;
  padding: 0 2.8rem 2.4rem;
  gap: 0.8rem;
}

.dropdown-footer button {
  max-width: 16rem;
}

.label {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 2.6rem;
  color: rgba(50, 48, 53, 0.88);
}

.placeholder {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
  color: rgba(50, 48, 53, 0.4);
}

.placeholder-in_text {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
}

.search-btn {
  width: 15.1rem;
  height: 5.6rem;
}

.home-section {
  min-height: 57.4rem;
  padding: 8rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem;
}

.section-group1 {
  display: flex;
  gap: 3.2rem;
  flex-wrap: wrap;
}

.section-card {
  width: 58.4rem;
}

.card-img1,
.card-img2 {
  background: var(--Fill-normal, rgba(111, 110, 119, 0.08));
  border-radius: 1rem;
  width: 58.4rem;
}

.card-img1 {
  height: 32.8rem;
}

.card-img2 {
  height: 24rem;
}

.section-dot-group {
  display: flex;
  gap: 0.8rem;
  padding: 1.6rem 0;
  justify-content: center;
}

.section-dot {
  width: 2.4rem;
  height: 0.8rem;
  border-radius: 0.4rem;
  background: #262626;
}

.section-card-header1 {
  display: flex;
  justify-content: space-between;
  padding-bottom: 2.4rem;
}

.card-title1 {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 4rem;
  color: var(--Primary-Strong, #4c0b2a);
}

.card-subTitle-group {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  cursor: pointer;
}

.card-subTitle {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2rem;
  color: var(--Text-alternative, rgba(50, 48, 53, 0.6));
}

.section-card-content-group {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #404040;
  border-top: 1px solid #404040;
}

.section-card-content {
  display: flex;
  justify-content: space-between;
  padding: 1.95rem 0 1.95rem;
  border-bottom: 1px solid #e5e5e5;
  gap: 0.8rem;
  cursor: pointer;
}

.section-card-content:hover {
  text-decoration: underline;
}

.content-title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.6rem;
}

.content-date {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2rem;
  color: rgba(50, 48, 53, 0.88);
}

.section-group2 {
  display: flex;
  flex-direction: column;
}

.card-title2 {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 4rem;
  color: var(--Primary-Strong, #4c0b2a);
}

.section-card-header2 {
  display: flex;
  justify-content: left;
  padding: 0 1.6rem 4rem;
}

.info-section {
  min-height: 57.4rem;
  padding: 8rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f7f7f8;
}

.section-group1 img {
  width: 37.8rem;
  height: 24.1rem;
}

.info-image-container {
  display: flex;
  flex-direction: column;
  border-radius: 1.2rem;
  overflow: hidden;
}

.info-image-bottom {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 2rem;
  background-color: #fff;
}

.arrow-image {
  padding: 0.7rem;
  border: 1px solid #f5f5f5;
  border-radius: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  background-color: #fff;
}

.arrow-image:hover {
  border: 1px solid #e0e0e0;
}

.info-bottom-title-group {
  display: flex;
  flex-direction: column;
}

.info-bottom-title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
}

.info-bottom-subTitle {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.6rem;
  color: rgba(50, 48, 53, 0.6);
}

.service-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 4rem 16rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  padding: 3.2rem 2.4rem;
  background-color: rgba(245, 245, 245, 0.5);
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
}

.service-card:hover {
  background-color: #e0e0e0;
}

.service-card span {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
  width: 16.64rem;
  text-align: center;
}

@media (max-width: 1023px) {
  .home-section {
    gap: 4rem;
    padding: 4rem 2rem;
  }

  .home-header span {
    display: none;
  }

  .info-section {
    padding: 4rem 2rem;
  }

  .service-section {
    padding: 4rem 2rem;
  }

  .ticket-container {
    padding: 0 2rem;
    width: 100%;
    bottom: 3rem;
  }

  .ticket-box {
    padding: 2rem;
    width: 100%;
  }

  .ticket-form {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .floating--wide,
  .floating--medium {
    width: 100%;
  }

  .section-group1,
  .section-group2 {
    width: 100%;
  }

  .section-group1 {
    gap: 4rem;
  }

  .section-card {
    width: 100%;
  }

  .section-group1__mobile {
    gap: 1.2rem;
  }

  .card-img1,
  .card-img2 {
    width: 100%;
    height: 16.5rem;
  }

  .card-title1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 3rem;
  }

  .card-subTitle {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.8rem;
  }

  .station {
    width: 9.6rem;
  }

  .date-select {
    width: 100%;
  }

  .people-select {
    width: 100%;
  }

  .station-select {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
  }

  .station-select .dot-group svg:nth-child(n + 4),
  .station-select .flex svg:nth-child(n + 4) {
    display: none;
  }

  .change {
    width: 7.2rem;
  }

  .station {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2.8rem;
  }

  .exchange-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    border: 1px solid var(--Boder-Default-normal, #d4d4d4);
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* 구분선 */
  .divider {
    width: 100%;
    height: 1px;
    background: var(--Boder-Default-normal, #d4d4d4);
  }

  /* 가는 날 / 인원 */
  .label {
    color: var(--Text-neutral, rgba(50, 48, 53, 0.88));
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.8rem;
  }

  .placeholder {
    color: var(--Text-assistive, rgba(50, 48, 53, 0.4));
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2rem;
  }

  /* 버튼 */
  .search-btn {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 500;
  }

  .search-btn svg path {
    stroke: white;
  }

  .service-card {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: row;
    gap: 0.875rem;
    justify-content: left;
  }

  .service-card span {
    text-align: left;
  }

  .section-card-content {
    flex-direction: column;
  }

  .info-image-container {
    width: 100%;
  }

  .info-image-container img {
    width: 100%;
  }

  .section-card-header2 {
    padding: 0 0rem 2rem;
  }

  .card-title2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 3rem;
  }
}
