.ui-wrapper {
    padding-top: 100px;
}

.ui-inner.is-subpage {
    gap: 80px;
}

.ui-footer {
    margin-top: 140px;
}

.block-hero {
    height: 560px;
    margin-bottom: 40px;
    background: no-repeat center / cover;
}

.section-detail-view .ui-inner.is-subpage {
    gap: 60px;
}

/* 공지사항 */
.section-notice .block-hero {
    background-image: url("../images/image_notice_hero.jpg");
}

.section-notice .list-notice {
    width: 100%;
    border-top: 2px solid #000;
}

.section-notice .list-notice a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px;
    border-bottom: 1px solid #dfdfdf;
    gap: 40px;
}

.section-notice .list-notice .group-text {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    gap: 4px;
}

.section-notice .list-notice .number {
    font-size: 28px;
    font-weight: 700;
    color: #ccc;
    line-height: 36px;
}

.section-notice .list-notice .title {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
}

.section-notice .list-notice .date {
    color: #666;
    line-height: 24px;
}

.section-notice .list-notice .icon {
    width: 32px;
    height: 32px;
    color: #ccc;
    flex: 0 0 32px;
}

.section-notice .list-notice .icon svg {
    width: 100%;
    height: 100%;
}

/* 자주묻는 질문 */
.section-faq .block-hero {
    background-image: url("../images/image_support_hero.jpg");
}

.section-faq .list-faq {
    width: 100%;
    border-top: 2px solid #000;
}

.section-faq .list-faq .button-question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 28px 40px;
    border-bottom: 1px solid #dfdfdf;
    gap: 20px;
}

.section-faq .list-faq .mark {
    font-size: 24px;
    font-weight: 700;
    color: #1946b9;
    line-height: 36px;
}

.section-faq .list-faq .title {
    margin-right: auto;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 32px;
}

.section-faq .list-faq .icon {
    width: 32px;
    height: 32px;
    color: #ccc;
    transition: all 0.2s;
    flex: 0 0 32px;
}

.section-faq .list-faq .icon svg {
    width: 100%;
    height: 100%;
}

.section-faq .list-faq .box-answer {
    overflow: hidden;
    transition: all 0.6s;
    max-height: 0;
}

.section-faq .list-faq .box-answer .text {
    padding: 40px 120px 40px 88px;
    font-size: 18px;
    color: #666;
    line-height: 28px;
    background: #f7f8fd;
}

.section-faq .list-faq li.is-active .icon {
    color: #002f87;
    transform: rotate(45deg);
    transform-origin: center;
}

/* Q&A */
.section-qna .block-hero {
    background-image: url("../images/image_support_hero.jpg");
}

.section-qna .table-qna {
    margin-top: 30px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.section-qna .table-qna tr:not(:first-child) th,
.section-qna .table-qna tr:not(:first-child) td {
    border-top: 1px solid #eee;
}

.section-qna .table-qna th {
    width: 200px;
    padding: 0 30px;
    font-weight: 400;
    text-align: left;
    line-height: 24px;
    background: #f5f5f5;
}

.section-qna .table-qna th .point {
    color: #dc202e;
}

.section-qna .table-qna td {
    padding: 0 20px;
}

.section-qna .table-qna .box {
    display: flex;
    align-items: center;
    padding: 12px 0;
    min-height: 64px;
    gap: 8px;
}

.section-qna .table-qna input {
    height: 40px;
    padding: 0 16px;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
}

.section-qna .table-qna textarea {
    width: 100%;
    height: 224px;
    padding: 16px;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    resize: none;
}

.section-qna .table-qna .tr-email input,
.section-qna .table-qna .tr-email select {
    width: 200px;
}

.section-qna .table-qna .tr-email select:invalid {
    color: #999;
}

.section-qna .table-qna .tr-phone input {
    width: 120px;
}

.section-qna .table-qna .tr-attachment input[type="file"] {
    display: none;
}

.section-qna .table-qna .button-file,
.section-qna .table-qna .button-add {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    border: 1px solid #000;
    border-radius: 4px;
}

.section-qna .table-qna .button-file {
    width: 96px;
    flex: 0 0 96px;
    cursor: pointer;
}

.section-qna .table-qna .button-add {
    width: 48px;
    flex: 0 0 48px;
}

.section-qna .table-qna .button-add svg {
    width: 24px;
    height: 24px;
}

/* 이용안내 */
.page-guide .ui-footer {
    margin-top: 0;
}

.section-guide .block-hero {
    margin-bottom: 0;
    background-image: url("../images/image_guide_hero.png");
}

.section-guide .block-guide {
    width: 1400px;
    position: relative;
    margin: 60px auto;
    padding: 395px 40px 0;
}

.section-guide .block-guide::before {
    display: block;
    width: 100%;
    height: 600px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: url("../images/image_guide.jpg") no-repeat center / cover;
    content: "";
    border-radius: 20px;
}

.section-guide .ui-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 40px;
    background: #f7f8fd;
    border-radius: 20px;
    gap: 20px;
}

.section-guide .block-guide .card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    gap: 20px;
}

.section-guide .block-guide .card.has-button {
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.section-guide .block-guide .group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-guide .block-guide .box-title {
    display: flex;
    align-items: center;
    height: 36px;
    gap: 10px;
}

.section-guide .block-guide .step {
    width: 97px;
    height: 30px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #002f87;
    line-height: 30px;
    border: 1px solid #002f87;
    border-radius: 15px;
}

.section-guide .block-guide .title {
    font-size: 24px;
    font-weight: 700;
    color: #002f87;
    line-height: 36px;
}

.section-guide .block-guide .box-text {
    font-size: 18px;
    color: #333;
    line-height: 28px;
}

.section-guide .block-guide a {
    display: block;
    height: 54px;
    padding: 0 29px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    line-height: 54px;
    background: #1946b9;
    min-width: 194px;
    max-width: max-content;
    border-radius: 4px;
}

.section-guide .block-guide ul {
    margin-bottom: 20px;
}

.section-guide .block-guide .ui-description-bullet {
    padding-left: 21px;
}

.section-guide .block-guide .ui-description-bullet::before {
    top: 14px;
    left: 4px;
}

/* 미디어쿼리 */
@media (max-width: 1023px) {
    .ui-wrapper {
        padding-top: 72px;
    }

    .block-hero {
        height: 300px;
        margin-bottom: 60px;
    }

    .ui-inner.is-subpage {
        padding:20px 20px 60px;
        gap: 60px;
    }

    .section-notice .block-hero {
        background-image: url("../images/image_notice_hero_m.jpg");
    }

    .section-notice .list-notice a {
        padding: 28px 10px;
        gap: 20px;
    }

    .section-notice .list-notice .title {
        display: -webkit-box;
        overflow: hidden;
        font-size: 18px;
        line-height: 28px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }

    .section-notice .list-notice .date {
        font-size: 16px;
    }

    .section-faq .block-hero {
        background-image: url("../images/image_support_hero_m.jpg");
    }

    .section-faq .list-faq .button-question {
        padding: 28px 10px;
    }

    .section-faq .list-faq .box-answer .text {
        padding: 20px;
    }

    .section-qna .block-hero {
        background-image: url("../images/image_support_hero_m.jpg");
    }

    .section-qna .table-qna tr:not(:first-child) th,
    .section-qna .table-qna tr:not(:first-child) td {
        border: none;
    }

    .section-qna .table-qna th {
        display: block;
        padding: 20px 0 8px;
        background: none;
    }

    .section-qna .table-qna td {
        display: block;
        padding: 0;
    }

    .section-qna .table-qna tr:last-child td {
        padding-bottom: 20px;
    }

    .section-qna .table-qna .box {
        height: auto;
        padding: 0;
        min-height: 0;
    }

    .section-qna .table-qna input {
        height: 48px;
    }

    .section-qna .table-qna .tr-name td {
        padding: 6px 0;
        font-size: 18px;
        font-weight: 700;
        line-height: 28px;
    }

    .section-qna .table-qna .tr-email .box {
        flex-wrap: wrap;
    }

    .section-qna .table-qna .tr-email input,
    .section-qna .table-qna .tr-email select {
        width: auto;
    }

    .section-qna .table-qna .tr-email input:first-of-type {
        flex: 1 1 100%;
    }

    .section-qna .table-qna .tr-email span {
        flex: 0 0 auto;
        align-self: center;
    }

    .section-qna .table-qna .tr-email input:nth-of-type(2) {
        flex: 1;
        min-width: 0;
    }

    .section-qna .table-qna .tr-email select {
        height: 56px;
        flex: 1;
        min-width: 0;
    }

    .section-qna .table-qna .tr-phone input {
        width: auto;
        flex: 1;
        min-width: 0;
    }

    .section-qna .table-qna textarea {
        height: 200px;
    }

    .section-qna .table-qna .button-file {
        width: 83px;
        flex: 0 0 83px;
    }

    .section-guide .block-guide {
        width: 100%;
        margin-top: 50px;
        padding-top: 270px;
    }

    .section-guide .block-guide::before {
        width: calc(100% - 40px);
        height: 350px;
        left: 20px;
    }

  .section-guide .ui-inner {padding:20px;}
    .section-guide .block-guide .card.has-button {
        flex-direction: column;
    }

    .section-guide .block-guide .box-title {
        align-items: flex-start;
        flex-direction: column;
        height: auto;
    }

    .section-guide .block-guide a {
        width: 100%;
        height: auto;
        padding: 13px 20px;
        line-height: 28px;
        max-width: none;
      min-width: none;
        word-break: keep-all;
    }

    .section-guide .block-guide .ui-description-bullet {
        word-break: break-all;
    }

    .section-guide .block-guide .ui-alert {
        padding: 20px;
    }

    .ui-footer {
        margin-top: 60px;
    }
}

@media screen and (max-width:1023px){
  .section-detail-view .ui-inner.is-subpage {gap:30px;}
  .section-detail-view .ui-inner.is-subpage {gap:30px;}
}
