main {
    /* min-height: 90vh; */
}
#jungsan_header {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--bg-01);
    padding: 2em min(20px, max(15px, 4vw));
    line-height: 1em;
    position: relative;
}
#jungsan_header > .subtitle {
    font-size: .9375em;
    color: var(--text-desc);
}
#jungsan_header > .point {
    color: var(--text-point);
    font-size: 1.625em;
    padding-top: 1rem;
    font-weight: 500;
}
#jungsan_header > a {
    position: absolute;
    top: 50%;
    right: min(20px, max(15px, 4vw));
    transform: translateY(-50%);
    font-size: 1.25em;
}

#jungsan_action {
    display: block;
    width: 100%;
    height: auto;
    padding: min(20px, max(15px, 4vw));
    line-height: 1em;
}
#jungsan_action > a {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--bg-01);
    padding: 1em 0;
    text-align: center;
    border-radius: min(15px, max(3vw,  10px));
    color: #000;
    position: relative;
}
#jungsan_action > a > img {
    display: block;
    width: auto;
    height: 1.5em;
    position: absolute;
    top: 50%;
    right: min(20px, max(15px, 4vw));
    transform: translateY(-50%);
}
#jungsan_action > a:hover {
    box-shadow: var(--shadow-01);
    transition: all 0.3s ease;
}
#jungsan_action > .btn_list {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: right;
    padding: 10px 1em 0;
    gap: 5px;
    line-height: 1em;
}
#jungsan_action > .btn_list > p {
    font-size: .94em;
    line-height: 1em;
}
#jungsan_action > .btn_list span {
    color: var(--text-desc);
}
#jungsan_action > .btn_list > a {
    display: block;
    width: min(35px, max(30px, 7vw));
    height: auto;
}
#jungsan_action > .btn_list img {
    display: block;
    width: 100%;
    height: auto;
}

#jungsan_body {
    display: block;
    width: 100%;
    height: auto;
    padding: 0 min(20px, max(15px, 4vw));
    line-height: 1em;
}
.paging_list {
    display: block;
    width: 100%;
    height: auto;
}
.paging_list > div {
    background-color: var(--bg-01);
} 
.point_date_list {
    display: flex;
    width: 100%;
    height: auto;
    background-color: var(--bg-01);
    padding: 0 min(10px, max(7px, 2vw));
    list-style: none;
    flex-wrap: wrap;
}
.point_date_list > li {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #757575;
    padding-top: 1em;
}
.point_date_list > li > .point_date {
    display: block;
    width: 100%;
    height: auto;
    color: var(--text-desc);
    font-size: .9375em;
}
.point_date_list > li > .point_log {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.5em;
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-01);
}
.point_date_list > li > .point_log > .event_type {
    font-weight: 500;
}
.point_date_list > li > .point_log > .msg {
    color: var(--text-08);
}
.point_date_list > li .point {
    float: right;
}

.sum_box {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1em min(10px, max(7px, 2vw)) 3em;
    background-color: var(--bg-01);
}
.sum_box .sum_title {
    font-weight: 600;
}
.sum_box .sum_detail {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto auto; 
    gap: .5em 1em
}
.sum_box .sum_detail > .attr {
    color: var(--text-desc);
}
.sum_box .sum_detail > .desc {
    font-weight: 600;
    text-align: right;
}
.sum_box .sum_detail > .sum_plus {
    color: var(--text-point);
}

/* 분류 탭 버튼 리스트 */
#event_scroll {
  position: relative;
  overflow-y: visible;
}
#event_scroll > .bottom_line {
    position: relative;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background-color: var(--text-07);
    z-index: 3;
}
#event_scroll > .categories {
  display: flex;
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  gap: .25em;
  padding: 0 .5em;
  scrollbar-width: none;
  scroll-behavior: smooth;
  z-index: 1;
}
#event_scroll > .categories * {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

#event_scroll > .categories::-webkit-scrollbar {
  display: none;
}
#event_scroll > .categories > a {
  background: none;
  border: none;
  font-size: 1em;
  line-height: 1em;
  padding: .7em 1em;
  color: var(--text-desc);
  white-space: nowrap;
  transition: color 0.3s ease;
  overflow-y: visible;
  display: inline-block;
  background-color: var(--bg-01);
  border-radius: 1.35em;
  border: 1px solid var(--border-input);
}

#event_scroll > .categories > a:hover {
  color: #000;
  scale: 1.01;
}

#event_scroll > .categories > a.active {
  color: #000;
  background-color: var(--bg-05);
  border: 1px solid var(--bg-13-hover);
  scale: 1.01;
}
#event_scroll > .arrow {
  position: absolute;
  top: 1%;
  width: 1.6em;
  height: 98%;
  border: none;
  background-color: var(--bg-01);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease;
}
#event_scroll > .arrow img {
    width: 100%;
    height: auto;
    background-color: rgba(0,0,0,0.1);
    border-radius: 50%;
}
#event_scroll > .arrow:hover > img {
  background-color: rgba(0,0,0,0.3);
}
#event_scroll > .arrow.left {
  left: 0;
  padding-right: .25em;
}
#event_scroll > .arrow.right {
  right: 0;
  padding-left: .25em;
}

#jungsan_action .calendar_btn_box {
    display: flex;
    width: fit-content;
    height: auto;
    align-items: center;
    justify-content: left;
    flex-wrap: nowrap;
    background-color: var(--bg-01);
    padding: .5em 1em;
    border-radius: min(17px, max(14px, 3.5vw));
    border: 1px solid var(--border-input);
    gap: .5em;
    cursor: pointer;
}

#jungsan_action .calendar_btn_box > p {
    white-space: nowrap;
}
#jungsan_action .calendar_btn_box > a {
    display: block;
    width: 1.25em;
    height: auto;
}
#jungsan_action .calendar_btn_box img {
    display: block;
    width: 100%;
    height: auto;
}


#jungsan_info {
    display: block;
    width: 100%;
    height: auto;
    padding: 1em 1.5em 3em;
    text-align: center;
    background-color: var(--bg-01);

}


.more_log {
    display: block;
    width: 100%;
    height: auto;
    padding: min(10px, max(7px, 2vw)) 1em 0;
    background-color: var(--bg-01);
}
.more_log > div {
    padding-bottom: min(10px, max(7px, 2vw));
    border-bottom: 1px solid #757575;
}

.more_log a {
    margin-top: 0 !important;
}


#dates_picker_popup {
    width: min(300px, 98%);
    height: auto;
    max-height: 90vh;
    background-color: #fff;
    border-radius: min(20px, max(15px, 4vw));
    overflow-y: auto;
}
#dates_picker_popup > .body {
    width: 100%;
    height: auto;
    padding: 10px 0;
    display: block;
    position: relative;
}
#dates_picker_popup > .body > .title {
    display: block;
    width: 100%;
    height: auto;
    font-size: 1.125em;
    padding: 0 1em ;
    margin-bottom: min(30px, max(6vw, 15px));
    font-weight: 500;
}
#dates_picker_popup > .body > .title > p {
    display: block;
    width: 100%;
    padding-bottom: .25em;
    border-bottom: 1px solid #000;
}
#dates_picker_popup .ok_btn_area {
    position: sticky;
    bottom: 0;
    padding: min(30px, max(6vw, 15px)) 0;
    background-color: #fff;
}
#dates_picker_popup .error_msg {
    text-align: center;
}
#dates_picker_popup .error_msg > p {
    padding: .5em 1em;
}


#calendar_body {
    display: block;
    width: 100%;
    padding: .5em 1em 1em;
    height: 290px;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;
    -ms-user-select: none;
    will-change: transform;
    backface-visibility: hidden;
    overscroll-behavior: contain;
    margin-bottom: 1.5em;
}
#calendar_body > .top_navi_box {
    display: block;
    width: min(23px, max(15px, 5vw));
    height: auto;
    position: sticky;
    top: 0;
    z-index: 2;
}
#calendar_body > .bottom_navi_box {
    display: flex;
    width: 100%;
    height: auto;
    position: sticky;
    bottom: 0;
    justify-content: right;
    z-index: 2;
    pointer-events: none;
}
#calendar_body .prev, #calendar_body .next {
    display: block;
    width: min(23px, max(15px, 5vw));
    height: auto;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.1);
    pointer-events: all;
}

#calendar_body .prev:hover, #calendar_body .next:hover {
    background-color: rgba(0,0,0,0.3);
}
#calendar_body .prev > img, #calendar_body .next > img {
    display: block;
    width: 100%;
    height: auto;
}


#dates_picker_popup .calendar_header, #dates_picker_popup .calendar_cover {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(7, 1fr);
    column-gap: 0;
}
#dates_picker_popup .calendar_header {
    padding: 0 1em;
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;
    -ms-user-select: none;
}
#dates_picker_popup .calendar_header > *, #dates_picker_popup .calendar_cover > * {
    display: flex;
    width: 100%;
    height: auto;
    font-size: 1em;
    justify-content: center;
    align-items: center;
}
#dates_picker_popup .calendar_header > * {
    font-size: .875em;
    aspect-ratio: 1.2;
    border-bottom: 1px solid var(--border-04);
}
#dates_picker_popup .calendar_cover {
}
#dates_picker_popup .calendar_cover > * {
    line-height: 1em;
    aspect-ratio: 1;
}
#dates_picker_popup .calendar_header p {
    line-height: 1em;
    color: var(--text-03);
}
#dates_picker_popup .calendar_header .tuesday > p {
    display: block;
    width: 1.5em;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #FFD3D4;
    position: relative;
}
#dates_picker_popup .calendar_header .tuesday > p > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#dates_picker_popup .calendar_cover {
    row-gap: 5px;
}
#dates_picker_popup .calendar_cover span {
    font-size: .9375em;
}
#dates_picker_popup .calendar_cover > * {
    color: #000;
    font-weight: 200;
}
#dates_picker_popup .calendar_cover > .on {
    color: #fff;
    background-color: var(--bg-04);
    border: 1px solid var(--bg-04-border);
    font-weight: 400;
}
#dates_picker_popup .calendar_cover > .in {
    background-color: var(--bg-16);
    border-top: 3px solid var(--bg-01);
    border-bottom: 3px solid var(--bg-01);
    font-weight: 400;
}
#dates_picker_popup .calendar_cover > .avail {
    cursor: pointer;
}
#dates_picker_popup .calendar_cover > .avail:hover {
}
#dates_picker_popup .calendar_wrapper {
    display: block;
    width: 100%;
    height: auto;
} 
#dates_picker_popup .calendar_wrapper > .yyyy_mm {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 2em 0 1em;
    font-weight: 600;
    font-size: .875em;
}
