.jtg-stage {
    width: 100%;
    min-width: 0;
    background: #f5f8fc;
}

:is(#jtg-page, .jtg-fragment) {
    --jtg-ink: #18283e;
    --jtg-muted: #51637b;
    --jtg-line: #d8e4f2;
    --jtg-blue: #1563be;
    --jtg-dark: #104d94;
    --jtg-soft: #edf5ff;
    color: var(--jtg-ink);
    font: 400 15px/1.55 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    letter-spacing: -.025em;
    text-align: left;
}

:is(#jtg-page, .jtg-fragment),
:is(#jtg-page, .jtg-fragment) *,
:is(#jtg-page, .jtg-fragment) *::before,
:is(#jtg-page, .jtg-fragment) *::after {
    box-sizing: border-box;
}

#jtg-page {
    display: block;
    width: min(1080px, calc(100% - 32px));
    min-width: 0;
    margin: 0 auto;
    padding: 25px 0 40px;
}

:is(#jtg-page, .jtg-fragment) :is(div, header, section, form, nav, article, label, p, h1, h2, h3, dl, dt, dd, input, select, button) {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-align: inherit;
}

:is(#jtg-page, .jtg-fragment) form {
    display: block;
}

:is(#jtg-page, .jtg-fragment) [hidden] {
    display: none !important;
}

:is(#jtg-page, .jtg-fragment) a {
    color: inherit;
    text-decoration: none;
}

:is(#jtg-page, .jtg-fragment) :is(a, button, input, select, summary, .jtg-gallery-slides):focus-visible {
    outline: 2px solid var(--jtg-blue);
    outline-offset: 2px;
}

#jtg-page .jtg-heading {
    margin-bottom: 17px;
}

#jtg-page .jtg-heading h1,
#jtg-page .jtg-forward h1 {
    font-size: clamp(25px, 5.8vw, 34px);
    font-weight: 650;
    line-height: 1.26;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}

#jtg-page .jtg-heading p,
#jtg-page .jtg-forward p {
    margin-top: 6px;
    color: var(--jtg-muted);
    font-size: 14px;
    word-break: keep-all;
}

:is(#jtg-page, .jtg-fragment) .jtg-box {
    border: 1px solid var(--jtg-line);
    border-radius: 12px;
    background: #fff;
}

:is(#jtg-page, .jtg-fragment) .jtg-empty {
    padding: 22px 15px;
    border: 1px solid var(--jtg-line);
    border-radius: 10px;
    background: #fff;
    color: var(--jtg-muted);
    text-align: center;
}

#jtg-page .jtg-search {
    padding: 14px;
    background: #f1f6fd;
}

#jtg-page .jtg-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px 9px;
}

:is(#jtg-page, .jtg-fragment) .jtg-field {
    display: grid;
    min-width: 0;
    gap: 5px;
    color: var(--jtg-ink);
    font-size: 13px;
    font-weight: 620;
}

:is(#jtg-page, .jtg-fragment) .jtg-field :is(input, select) {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 45px;
    padding: 7px 9px;
    border: 1px solid #c8d8ec;
    border-radius: 7px;
    background: #fff;
    color: var(--jtg-ink);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    box-shadow: none;
}

:is(#jtg-page, .jtg-fragment) .jtg-field input::placeholder {
    color: #687b94;
    font-size: 14px;
}

#jtg-page .jtg-date-field {
    position: relative;
    display: block;
    min-width: 0;
}

#jtg-page .jtg-date-field input {
    padding-right: 5px;
}

#jtg-page .jtg-date-field.jtg-enhanced input[type="date"] {
    padding-right: 29px;
    font-variant-numeric: tabular-nums;
}

#jtg-page .jtg-enhanced input::-webkit-calendar-picker-indicator {
    display: none;
}

#jtg-page .jtg-calendar-trigger {
    position: absolute;
    inset: 2px 2px 2px auto;
    display: grid;
    width: 28px;
    place-items: center;
    border: 0;
    border-radius: 5px;
    background: #fff;
    color: var(--jtg-dark);
    cursor: pointer;
}

#jtg-page .jtg-calendar-trigger svg {
    width: 18px;
    height: 18px;
}

:is(#jtg-page, .jtg-fragment) .jtg-button {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-height: 43px;
    padding: 9px 13px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--jtg-blue);
    border-radius: 7px;
    background: var(--jtg-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 620;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

:is(#jtg-page, .jtg-fragment) .jtg-secondary {
    border-color: #bbd0eb;
    background: #fff;
    color: var(--jtg-dark);
}

:is(#jtg-page, .jtg-fragment) .jtg-button:hover {
    border-color: var(--jtg-dark);
    background: var(--jtg-dark);
}

:is(#jtg-page, .jtg-fragment) .jtg-secondary:hover {
    background: var(--jtg-soft);
}

#jtg-page .jtg-button:disabled {
    opacity: .6;
    cursor: default;
}

#jtg-page .jtg-search-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 45px;
}

#jtg-page .jtg-detail-search .jtg-search-button {
    grid-column: auto;
}

#jtg-page :is(.jtg-results, .jtg-booking) {
    margin-top: 25px;
}

#jtg-page .jtg-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

#jtg-page :is(.jtg-section-heading, .jtg-info) h2 {
    font-size: clamp(19px, 4.3vw, 23px);
    font-weight: 650;
    line-height: 1.3;
}

#jtg-page .jtg-section-heading p {
    margin-top: 4px;
    color: var(--jtg-muted);
    font-size: 13px;
}

#jtg-page .jtg-count {
    color: var(--jtg-muted);
    font-size: 13px;
    white-space: nowrap;
}

#jtg-page .jtg-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
}

#jtg-page .jtg-areas a,
:is(#jtg-page, .jtg-fragment) .jtg-tag {
    display: inline-flex;
    height: auto;
    padding: 7px 12px;
    min-height: 38px;
    align-items: center;
    border: 1px solid var(--jtg-line);
    border-radius: 6px;
    background: #fff;
    color: var(--jtg-muted);
    font-size: 13px;
    line-height: 1.25;
}

#jtg-page .jtg-areas a[aria-current] {
    border-color: var(--jtg-blue);
    background: var(--jtg-blue);
    color: #fff;
    font-weight: 620;
}

:is(#jtg-page, .jtg-fragment) .jtg-courses {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course {
    display: grid;
    grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    padding: 10px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-image {
    display: block;
    min-width: 0;
}

:is(#jtg-page, .jtg-fragment) .jtg-photo {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 100px;
    place-items: center;
    overflow: hidden;
    border-radius: 7px;
    background: #edf3f9;
}

:is(#jtg-page, .jtg-fragment) .jtg-photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
}

:is(#jtg-page, .jtg-fragment) .jtg-photo-empty {
    padding: 5px;
    color: var(--jtg-muted);
    font-size: 11px;
    text-align: center;
    word-break: keep-all;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-copy {
    min-width: 0;
    padding: 2px 0;
}

:is(#jtg-page, .jtg-fragment) .jtg-tag {
    min-height: 0;
    padding: 3px 6px;
    border: 0;
    border-radius: 4px;
    background: var(--jtg-soft);
    color: var(--jtg-dark);
    font-size: 11px;
    font-weight: 600;
}

:is(#jtg-page, .jtg-fragment) .jtg-course h3 {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

:is(#jtg-page, .jtg-fragment) .jtg-course p {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    color: var(--jtg-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
    word-break: keep-all;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 6px 8px;
    margin-top: 9px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-rate {
    display: grid;
    color: var(--jtg-muted);
    font-size: 11px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-rate strong {
    color: var(--jtg-dark);
    font-size: 19px;
    font-weight: 680;
    line-height: 1.25;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-rate small {
    margin-left: 2px;
    font-size: 13px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course .jtg-button {
    min-height: 37px;
    margin-inline-start: auto;
    padding: 7px 9px;
    font-size: 12px;
}

#jtg-page .jtg-back {
    margin-bottom: 9px;
    color: var(--jtg-dark);
    font-size: 13px;
}

#jtg-page .jtg-back a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
}

#jtg-page .jtg-course-overview {
    padding: 10px;
}

:is(#jtg-page, .jtg-fragment) .jtg-gallery {
    position: relative;
}

:is(#jtg-page, .jtg-fragment) .jtg-gallery-slides {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    background: #edf3f9;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
}

:is(#jtg-page, .jtg-fragment) .jtg-gallery-slide {
    flex: 0 0 100%;
    min-width: 0;
    aspect-ratio: 16 / 9;
    max-height: 430px;
    scroll-snap-align: start;
}

:is(#jtg-page, .jtg-fragment) .jtg-gallery-actions {
    position: absolute;
    inset: auto 10px 11px auto;
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 4px;
    border-radius: 7px;
    background: rgba(20, 40, 65, .83);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

:is(#jtg-page, .jtg-fragment) .jtg-gallery-actions button {
    display: grid;
    min-width: 34px;
    min-height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 5px;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

#jtg-page .jtg-overview-details {
    display: grid;
    gap: 7px;
    padding: 12px 4px 4px;
    font-size: 13px;
}

#jtg-page .jtg-overview-details div {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 7px;
}

#jtg-page .jtg-overview-details dt {
    color: var(--jtg-muted);
    font-weight: 600;
}

#jtg-page .jtg-overview-details dd {
    overflow-wrap: anywhere;
}

#jtg-page .jtg-rounds,
#jtg-page .jtg-total,
#jtg-page .jtg-info {
    margin-top: 12px;
}

#jtg-page .jtg-round {
    padding: 14px;
}

#jtg-page .jtg-round + .jtg-round {
    margin-top: 10px;
}

#jtg-page .jtg-round-heading {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    margin-bottom: 10px;
}

#jtg-page .jtg-round-heading h3 {
    padding: 3px 7px;
    border-radius: 5px;
    background: var(--jtg-soft);
    color: var(--jtg-dark);
    font-size: 13px;
    font-weight: 650;
}

#jtg-page .jtg-round-heading time {
    font-size: 15px;
    font-weight: 620;
}

#jtg-page .jtg-select-course {
    margin-bottom: 11px;
}

:is(#jtg-page, .jtg-fragment) .jtg-round-grid,
:is(#jtg-page, .jtg-fragment) .jtg-time {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

:is(#jtg-page, .jtg-fragment) .jtg-round-grid > :first-child {
    grid-column: 1 / -1;
}

:is(#jtg-page, .jtg-fragment) .jtg-round-quote {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

:is(#jtg-page, .jtg-fragment) :is(.jtg-day-money, .jtg-day-local) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

:is(#jtg-page, .jtg-fragment) .jtg-day-money {
    padding: 9px 10px;
    border: 1px solid var(--jtg-line);
    border-radius: 7px;
    background: #f1f6fe;
}

:is(#jtg-page, .jtg-fragment) .jtg-day-local {
    padding: 0 10px;
}

:is(#jtg-page, .jtg-fragment) .jtg-round-quote dt {
    color: var(--jtg-muted);
    font-size: 12px;
}

:is(#jtg-page, .jtg-fragment) .jtg-day-local span {
    margin-left: 3px;
    white-space: nowrap;
}

:is(#jtg-page, .jtg-fragment) .jtg-round-quote dd {
    font-size: 14px;
    font-weight: 620;
    overflow-wrap: anywhere;
}

:is(#jtg-page, .jtg-fragment) .jtg-round-quote .jtg-blue {
    color: var(--jtg-dark);
    font-size: 17px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-guide {
    margin-top: 11px;
    padding-top: 7px;
    border-top: 1px solid var(--jtg-line);
    color: var(--jtg-dark);
    font-size: 13px;
}

:is(#jtg-page, .jtg-fragment) .jtg-course-guide summary {
    min-height: 32px;
    padding: 5px 0;
    cursor: pointer;
}

:is(#jtg-page, .jtg-fragment) .jtg-muted {
    color: var(--jtg-muted);
    font-size: 13px;
}

#jtg-page .jtg-notice,
#jtg-page .jtg-day-feedback {
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--jtg-soft);
    color: var(--jtg-dark);
    font-size: 13px;
}

#jtg-page .jtg-total {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-color: #bcd0eb;
}

#jtg-page .jtg-total-copy {
    display: grid;
    gap: 2px;
    color: var(--jtg-muted);
    font-size: 13px;
}

#jtg-page .jtg-total-copy strong {
    color: var(--jtg-dark);
    font-size: clamp(22px, 5.4vw, 29px);
    font-weight: 680;
    line-height: 1.3;
}

#jtg-page .jtg-total-copy small {
    font-size: 12px;
}

#jtg-page .jtg-total .jtg-button {
    width: 100%;
}

#jtg-page .jtg-info,
#jtg-page .jtg-forward {
    padding: 15px;
}

#jtg-page .jtg-info h2 {
    margin-bottom: 8px;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich {
    color: var(--jtg-ink);
    font-size: 14px;
    line-height: 1.75;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-wrap: anywhere;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich a {
    color: var(--jtg-dark);
    text-decoration: underline;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich img {
    max-width: 100% !important;
    height: auto !important;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich :is(p, ul, ol, table):not(:last-child) {
    margin-bottom: .65em;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich :is(ol, ul) {
    height: auto;
    padding-left: 1.25em;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich ul li {
    list-style: disc;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich ol li {
    list-style: decimal;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich table {
    border-collapse: collapse;
}

:is(#jtg-page, .jtg-fragment) .jtg-rich :is(th, td) {
    padding: 5px 8px;
    border: 1px solid var(--jtg-line);
}

#jtg-page .jtg-map-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px 16px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

#jtg-page .jtg-map {
    width: 100%;
    height: clamp(225px, 55vw, 340px);
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid var(--jtg-line);
    border-radius: 8px;
}

#jtg-page .jtg-forward .jtg-button {
    margin-top: 12px;
}

#jtg-page .jtg-calendar {
    width: min(390px, calc(100% - 28px));
    max-width: 100%;
    padding: 15px;
    border: 1px solid var(--jtg-line);
    border-radius: 12px;
    background: #fff;
    color: var(--jtg-ink);
    box-shadow: 0 14px 45px rgba(17, 49, 84, .18);
}

#jtg-page .jtg-calendar::backdrop {
    background: rgba(13, 31, 52, .53);
}

#jtg-page .jtg-calendar-head,
#jtg-page .jtg-calendar-month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#jtg-page .jtg-calendar-head {
    margin-bottom: 9px;
    border-bottom: 1px solid var(--jtg-line);
    padding-bottom: 7px;
}

#jtg-page .jtg-calendar-head h2,
#jtg-page .jtg-calendar-month p {
    font-size: 17px;
    font-weight: 650;
}

#jtg-page .jtg-calendar button {
    display: grid;
    min-height: 38px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    text-align: center;
    cursor: pointer;
}

#jtg-page :is(.jtg-calendar-close, .jtg-calendar-month button) {
    width: 38px;
    border-color: var(--jtg-line);
    color: var(--jtg-dark);
    font-size: 22px;
    line-height: 1;
}

#jtg-page .jtg-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    margin-top: 8px;
    text-align: center;
}

#jtg-page .jtg-calendar-grid > span {
    margin-bottom: 3px;
    color: var(--jtg-muted);
    font-size: 13px;
    font-weight: 600;
}

#jtg-page .jtg-calendar-grid :is(:nth-child(7n), :nth-child(7n + 1)) {
    color: #ae3546;
}

#jtg-page .jtg-calendar-days button[aria-pressed="true"] {
    background: var(--jtg-blue);
    color: #fff;
    font-weight: 650;
}

#jtg-page .jtg-calendar-days button[aria-current="date"]:not([aria-pressed="true"]) {
    border-color: #bfd2eb;
}

#jtg-page .jtg-calendar button:disabled {
    color: #8c9aae;
    opacity: .65;
    cursor: default;
}

.jtg-stage ~ .footerarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 14px 16px 20px;
    background: #1c2636;
    color: #e6edf7;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.jtg-stage ~ .footerarea :is(.menu_1, .copyarea_new) {
    width: min(1080px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    list-style: none;
}

.jtg-stage ~ .footerarea .menu_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 4px 0 8px;
    border-bottom: 1px solid #405069;
}

.jtg-stage ~ .footerarea :is(.menu_1, .copyarea_new) li,
.jtg-stage ~ .footerarea .menu_1 a {
    float: none;
    width: auto;
    height: auto;
    border: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
}

@media (min-width: 630px) {
    #jtg-page .jtg-search-grid {
        grid-template-columns: minmax(150px, 1.25fr) minmax(85px, .7fr) minmax(90px, .8fr) minmax(110px, 1fr);
    }

    #jtg-page .jtg-list-search .jtg-search-grid {
        grid-template-columns: minmax(150px, 1.1fr) minmax(85px, .55fr) minmax(95px, .65fr) minmax(0, 1.2fr);
    }

    #jtg-page .jtg-search-button {
        grid-column: auto;
    }

    #jtg-page .jtg-list-search .jtg-search-button {
        grid-column: 1 / -1;
    }

    :is(#jtg-page, .jtg-fragment) .jtg-round-grid {
        grid-template-columns: minmax(160px, 1.3fr) repeat(2, minmax(110px, 1fr));
    }

    :is(#jtg-page, .jtg-fragment) .jtg-round-grid > :first-child {
        grid-column: auto;
    }

    #jtg-page .jtg-total {
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
    }

    #jtg-page .jtg-total .jtg-button {
        min-width: 150px;
    }

    :is(#jtg-page, .jtg-fragment) .jtg-course {
        grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    }

    :is(#jtg-page, .jtg-fragment) .jtg-courses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 920px) {
    #jtg-page {
        padding-top: 34px;
    }

    #jtg-page .jtg-search,
    #jtg-page .jtg-round,
    #jtg-page .jtg-info,
    #jtg-page .jtg-total {
        padding: 18px;
    }

    #jtg-page .jtg-list-search .jtg-search-grid {
        grid-template-columns: minmax(150px, 1.1fr) minmax(90px, .55fr) minmax(110px, .65fr) minmax(0, 1.2fr) max-content;
    }

    #jtg-page .jtg-list-search .jtg-search-button {
        grid-column: auto;
    }

    :is(#jtg-page, .jtg-fragment) .jtg-course {
        gap: 15px;
        padding: 12px;
    }

    :is(#jtg-page, .jtg-fragment) .jtg-course h3 {
        font-size: 18px;
    }
}
