body {
  background: #f9f9f9;
}

header {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  padding: 0 1.5rem;
  z-index: 7777;
  background: #f9f9f9;
}

header h1 {
  width: 10rem;
}

header h1 a {
  width: 100%;
}

header h1 a img {
  width: 100%;
}

header #menuBtn {
  width: 3rem;
  position: absolute;
  right: 1.5rem;
}

header #menuBtn img {
  width: 100%;
}

main {
  padding: 2rem 1.5rem 10rem;
}

main>h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

main .search {
  width: 100%;
  margin-bottom: 3rem;
}

main .search a {
  display: block;
  width: 100%;
}

main .search a img {
  width: 100%;
}

main .menu {
  display: flex;
  gap: 4rem;
  padding-bottom: 3rem;
}

main .menu a {
  width: calc(100% / 3);
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

main .menu a .icon {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f4f4f6;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

main .menu a .icon img {
  width: 40%;
}

main .menu a h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

main .qnaWrap {
  padding-top: 3rem;
}

main .qnaWrap h2 {
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

main .qnaWrap h2 a {
  font-size: 1.6rem;
}

main .qnaWrap .qna {
  display: flex;
  flex-flow: column nowrap;
  gap: 2rem;
}

main .qnaWrap .qna a {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

main .qnaWrap .qna a .icon {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background: #002a76;
}

main .qnaWrap .qna a .icon img {
  width: 40%;
}

main .qnaWrap .qna a .text {
  width: calc(100% - 6rem);
}

main .qnaWrap .qna a p {
  font-size: 1.6rem;
}

main .qnaWrap .qna a h3 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
}

/* 서브 */
main .stepWrap {
  display: flex;
  flex-flow: column nowrap;
  gap: 3rem;
}

main .stepWrap .step {
  display: flex;
  gap: 2rem;
}

main .stepWrap .step .icon {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background: #004e9d;
}

main .stepWrap .step .icon img {
  height: 60%;
}

main .stepWrap .step pre {
  font-size: 1.6rem;
  line-height: 1.4;
  width: calc(100% - 6rem);
}

main>.icon {
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background: #004e9d;
  margin: 0 auto 2rem;
}

main>.icon img {
  height: 60%;
}

main>pre {
  font-size: 1.6rem;
  line-height: 1.4;
}

main>a {
  display: block;
  font-size: 2rem;
  color: #fff;
  padding: 1.5rem 0;
  border-radius: 1rem;
  background: #004e9d;
  text-align: center;
  margin-top: 8rem;
}

/* 질문 */
main .qna {
  display: flex;
  flex-flow: column nowrap;
  gap: 3rem;
}

main .qna .open {}

main .qna .open h3 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 3rem 1.5rem 6rem;
  position: relative;
}

main .qna .open h3::before {
  content: 'Q.';
  font-size: 2rem;
  background: #014e9e;
  color: #fff;
  border-radius: 100%;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

main .qna .open pre {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #fff;
  border-radius: 2rem;
  background: #002a76;
  padding: 1.5rem 3rem 1.5rem 6rem;
  position: relative;
}

main .qna .open pre::before {
  content: 'A.';
  font-size: 2rem;
  font-weight: 600;
  background: #fff;
  color: #014e9e;
  border-radius: 100%;
  width: 4rem;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 1.5rem;
}

/* 모달 */
#selectModal {
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 0 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#selectModal .select {
  width: 100%;
  background: #fff;
}

#selectModal .select .title {
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  background: #004e9d;
  position: relative;
}

#selectModal .select .title h2 {
  font-size: 1.8rem;
  color: #fff;
}

#selectModal .select .title button {
  font-size: 1.8rem;
  color: #fff;
  position: absolute;
  right: 1.5rem;
}

#selectModal .select #searchFrm {
  margin: 2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 5rem;
  background: #f4f4f6;
  padding: 0 2rem;
}

#selectModal .select #searchFrm input {
  background: none;
  font-size: 1.6rem;
  height: 100%;
  padding: 1.5rem 0;
  width: calc(100% - 2rem);
}

#selectModal .select #searchFrm button {
  width: 2rem;
}

#selectModal .select #searchFrm button img {
  width: 100%;
}

#selectModal .select .result {
  display: flex;
  flex-flow: column nowrap;
  height: 40%;
  overflow-y: auto;
  border: 1px solid #014e9e;
  padding: 0 1rem;
  margin: 0 1.5rem 10rem;
}

#selectModal .select .result a {
  font-size: 1.6rem;
  padding: 1rem 0;
  border-bottom: 1px solid #014e9e;
}

#selectModal .select .result a:last-child {
  border: none;
}

/* 검색 */
main .category {
  border-radius: 5rem;
  display: flex;
  margin-bottom: 3rem;
  background: #fff;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
}

main .category a {
  width: 50%;
  border-radius: 5rem;
  padding: 2rem 0;
  font-size: 2rem;
  font-weight: 600;
  color: #014e9e;
  text-align: center;
}

main .category a.on {
  background: #014e9e;
  color: #fff;
}

main #onewayFrm {}

main #onewayFrm .station {
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  padding: 0 8rem 0 1.5rem;
  display: flex;
  flex-flow: column nowrap;
  background: #fff;
  position: relative;
  margin-bottom: 3rem;
}

main #onewayFrm .station input {
  font-size: 2rem;
  padding: 1.5rem 0;
}

main #onewayFrm .station input:first-child {
  border-bottom: 1px solid #014e9e;
  border-radius: 0;
}


main #onewayFrm .station button {
  width: 5rem;
  height: 5rem;
  border-radius: 100%;
  background: #014e9e;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

main #onewayFrm .station button img {
  width: 50%;
}

main #onewayFrm .date {
  position: relative;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  background: #fff;
  margin-bottom: 3rem;
  overflow: hidden;
}

main #onewayFrm .date input {
  font-size: 1.8rem;
  padding: 1.5rem;
  width: 100%;
  color: transparent;
  height: 5rem;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: none;
}

main #onewayFrm .date input:valid {
  color: #111;
  caret-color: auto;
  -webkit-text-fill-color: #111;
}

main #onewayFrm .date input:valid+.oneway_date_label {
  display: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  -webkit-appearance: none;
}

main .oneway_date_label {
  font-size: 1.8rem;
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  pointer-events: none;
}

main .date .calendar_icon {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 3rem;
  transform: translateY(-50%);
  pointer-events: none;
}

main #onewayFrm .gradeSel {
  position: relative;
  border-radius: 1rem;
}

main #onewayFrm .gradeSel>a {
  font-size: 1.8rem;
  padding: 1.5rem;
  background-image: url(../img/arrow-1.png);
  background-repeat: no-repeat;
  background-size: 2rem;
  background-position: right 1.5rem center;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  background-color: #fff;
  display: block;
}

main #onewayFrm .gradeSel .gradeOption {
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  display: none;
  flex-flow: column nowrap;
  border: 1px solid #014e9e;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  z-index: 1222;
}

main #onewayFrm .gradeSel .gradeOption a {
  font-size: 1.8rem;
  padding: 1.5rem;
  border-bottom: 1px solid #014e9e;
}

main #onewayFrm .gradeSel .gradeOption a:last-child {
  border: none;
}

main #onewayFrm>button {
  font-size: 2rem;
  color: #fff;
  background: #014e9e;
  border-radius: 1rem;
  padding: 1.5rem 0;
  width: 100%;
  margin-top: 4rem;
}

main #roundFrm {
  display: none;
}

main #roundFrm .station {
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  padding: 0 8rem 0 1.5rem;
  display: flex;
  flex-flow: column nowrap;
  background: #fff;
  position: relative;
  margin-bottom: 3rem;
}

main #roundFrm .station input {
  font-size: 2rem;
  padding: 1.5rem 0;
}

main #roundFrm .station input:first-child {
  border-bottom: 1px solid #014e9e;
  border-radius: 0;
}

main #roundFrm .station button {
  width: 5rem;
  height: 5rem;
  border-radius: 100%;
  background: #014e9e;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

main #roundFrm .station button img {
  width: 50%;
}

main #roundFrm .date {
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  background: #fff;
  margin-bottom: 3rem;
  overflow: hidden;
  display: flex;
  padding: 1rem 0;
}

main #roundFrm .date input {
  font-size: 1.8rem;
  padding: 1rem;
  width: 100%;
  color: transparent;
  height: 3rem;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-user-select: none;
}

main #roundFrm input[type=date]:valid {
  color: #111;
  caret-color: auto;
  -webkit-text-fill-color: #111;
}

main #roundFrm input[type=date]:valid+.round_date_label {
  display: none;
}

main #roundFrm .date .departure_wrap,
main #roundFrm .date .return_wrap {
  position: relative;
  flex-grow: 1;
  width: 50%;
}

main #roundFrm .date .departure_wrap input {
  border-right: 1px solid #014e9e;
  border-radius: 0;
}

main #roundFrm .date .departure_wrap label,
main #roundFrm .date .return_wrap label {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  font-size: 1.8rem;
  pointer-events: none;
}

main #roundFrm .date .calendar_icon {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}


main #roundFrm .gradeSel {
  position: relative;
  border-radius: 1rem;
}

main #roundFrm .gradeSel>a {
  font-size: 1.8rem;
  padding: 1.5rem;
  background-image: url(../img/arrow-1.png);
  background-repeat: no-repeat;
  background-size: 2rem;
  background-position: right 1.5rem center;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  background-color: #fff;
  display: block;
}

main #roundFrm .gradeSel .gradeOption {
  position: absolute;
  left: 0;
  width: 100%;
  background: #fff;
  display: none;
  flex-flow: column nowrap;
  border: 1px solid #014e9e;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  z-index: 1222;
}

main #roundFrm .gradeSel .gradeOption a {
  font-size: 1.8rem;
  padding: 1.5rem;
  border-bottom: 1px solid #014e9e;
}

main #roundFrm .gradeSel .gradeOption a:last-child {
  border: none;
}

main #roundFrm>button {
  font-size: 2rem;
  color: #fff;
  background: #014e9e;
  border-radius: 1rem;
  padding: 1.5rem 0;
  width: 100%;
  margin-top: 4rem;
}

/* 편도 */
main .status {
  margin-bottom: 1rem;
  display: flex;
  flex-flow: column nowrap;
  gap: 1.5rem;
}

main .status .way {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .status .way input {
  width: calc(50% - 3rem);
  text-align: center;
  padding: 1.5rem 0;
  border-radius: 1rem;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
  font-size: 1.8rem;
  background: #fff;
}

main .status .way img {
  width: 3rem;
}

main .status>input {
  font-size: 1.8rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: #fff;
  background-image: url(../img/icon-16.png);
  background-repeat: no-repeat;
  background-size: 3rem;
  background-position: right 1.5rem center;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}

main .table {
  border-top: 1px solid #6e6e6e;
}

main .table .title {
  display: flex;
}

main .table .title h3 {
  width: calc(100% / 3);
  font-size: 1.6rem;
  padding: 1rem 0;
  text-align: center;
}

main .table .contentWrap {}

main .table .contentWrap .content {
  display: flex;
  border-top: 1px solid #4c4c4c;
}

main .table .contentWrap .content.on {
  background: #bdd2e5;
  box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
}

main .table .contentWrap .content p {
  width: calc(100% / 3);
  font-size: 1.6rem;
  padding: 1.5rem 0;
  text-align: center;
}

main .table .contentWrap .content p.premium {
  color: #f9cd00;
}

/* 조회 */
main .onewayHistory {
  display: flex;
  flex-flow: column nowrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

main .onewayHistory>p {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
}

main .onewayHistory .history {
  border-radius: 1rem;
  border: 1px solid #014e9e;
  padding: 1.5rem;
  background: #fff;
}

main .onewayHistory .history h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  color: #014e9e;
  margin-bottom: 1rem;
}

main .onewayHistory .history h3 button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
  background: #014e9e;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .onewayHistory .history h3 button img {
  width: 50%;
}

main .onewayHistory .history .content {
  display: flex;
  justify-content: space-between;
}

main .onewayHistory .history .content p {
  font-size: 1.6rem;
}

main .onewayHistory .history .content p.time {
  font-weight: 600;
}

main .onewayHistory .history .content p.price {
  color: #014e9e;
}

main .roundHistory {
  display: flex;
  flex-flow: column nowrap;
  gap: 4rem;
}

main .roundHistory>p {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
}

main .roundHistory .history {
  border-radius: 1rem;
  border: 1px solid #014e9e;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-flow: column nowrap;
}

main .roundHistory .history .start {
  border-bottom: 1px solid #014e9e;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

main .roundHistory .history h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  color: #014e9e;
  margin-bottom: 1rem;
}

main .roundHistory .history h3 button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
  background: #014e9e;
  display: flex;
  justify-content: center;
  align-items: center;
}

main .roundHistory .history h3 button img {
  width: 50%;
}

main .roundHistory .history .content {
  display: flex;
  justify-content: space-between;
}

main .roundHistory .history .content p {
  font-size: 1.6rem;
}

main .roundHistory .history .content p.time {
  font-weight: 600;
}

main .roundHistory .history .content p.price {
  color: #014e9e;
}

@media screen and (max-width: 360px) {
  main #roundFrm .date .calendar_icon {
    display: none;
  }
}
