.custom-page .custom-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.custom-page .custom-visual {
    margin-top: -48px;
}

.custom-page .product-visual__image img {
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
}

.custom-inquiry {
    width: 100%;
    padding: 90px 0 140px;
    box-sizing: border-box;
    background: #fff;
}

.custom-inquiry__inner {
    width: min(calc(100% - 154px), 1466px);
    margin-left: max(60px, calc((100% - 1500px) / 2));
    margin-right: 0;
}

.custom-inquiry__banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 16px;
    background: #1A1A1A;
}

.custom-inquiry__banner img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.78;
}

.custom-inquiry__banner p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0 24px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.0;
    text-align: center;
    word-break: keep-all;
}

.custom-inquiry__form-wrap {
    width: 100%;
    margin-top: 82px;
}

.custom-inquiry #boardForm {
    display: grid;
    gap: 28px;
    width: 100%;
}

.custom-inquiry-form {
    display: grid;
    gap: 28px;
}

.custom-form-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 34px;
}

.custom-form-row label,
.custom-form-label {
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    word-break: keep-all;
}

.custom-form-row label span,
.custom-form-label span {
    color: #58A5D6;
}

.custom-inquiry-form input[type="text"],
.custom-inquiry-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 8px;
    background: #F2F2F2;
    color: #1A1A1A;
    font-size: 16px;
}

.custom-inquiry-form input[type="text"] {
    height: 58px;
    padding: 0 20px;
}

.custom-inquiry-form textarea {
    height: 230px;
    padding: 18px 20px;
    resize: vertical;
}

.custom-topic-list {
    display: grid;
    gap: 17px;
}

.custom-topic-list label,
.custom-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.custom-privacy-check {
    margin-top: 8px;
}

.custom-topic-list label span {
    color: #1A1A1A;
    font-size: 20px;
}

.custom-form-row .custom-privacy-check span,
.custom-form-row .custom-privacy-check a {
    color: #1A1A1A;
}

.custom-topic-list input,
.custom-privacy-check input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: #58A5D6;
}

.custom-privacy-check a {
    color: #1A1A1A;
}

.custom-form-row--topics,
.custom-form-row--content,
.custom-form-row--privacy {
    align-items: start;
}

.custom-form-row--content label,
.custom-form-row--privacy .custom-form-label {
    padding-top: 8px;
}

.custom-form-button {
    display: grid;
    grid-template-columns: 180px auto;
    justify-content: start;
    gap: 34px;
}

.custom-form-button::before {
    content: "";
}

.custom-inquiry .board-write .bigLoginBtn {
    width: 145px;
    height: 54px;
    margin: 20px 0 0;
    border-radius: 6px;
    background: #58A5D6;
    font-size: 16px;
}

.custom-inquiry textarea {
    width: 100%;
}

.custom-notice {
    width: 100%;
    padding: 110px 0 140px;
    box-sizing: border-box;
    background: #fff;
}

.custom-notice__inner {
    width: min(calc(100% - 154px), 1466px);
    margin-left: max(60px, calc((100% - 1500px) / 2));
    margin-right: 0;
}

.custom-notice__count {
    margin: 0 0 28px;
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.custom-notice__count strong {
    color: #0B5495;
    font-weight: 700;
}

.custom-notice__table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#notice_list.custom-notice-table {
    width: 100%;
    max-width: none;
    min-width: 720px;
    border-top: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}

.custom-notice-table col.custom-notice-table__number {
    width: 90px;
}

.custom-notice-table col.custom-notice-table__date {
    width: 210px;
}

.custom-notice-table thead th,
.custom-notice-table tr.custom-notice-table__head th {
    height: 64px;
    padding: 0 24px;
    box-sizing: border-box;
    background: #0B5495;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
}

.custom-notice-table thead th:first-child,
.custom-notice-table tr.custom-notice-table__head th:first-child {
    text-align: center;
}

.custom-notice-table thead th:last-child,
.custom-notice-table tr.custom-notice-table__head th:last-child {
    text-align: right;
    padding-right: 50px;
}

#notice_list.custom-notice-table tbody td,
#notice_list.custom-notice-table > tr td {
    height: 60px;
    padding: 0 24px;
    border-bottom: 1px solid #D9D9D9;
    box-sizing: border-box;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    vertical-align: middle;
}

#notice_list.custom-notice-table tbody td:first-child,
#notice_list.custom-notice-table > tr td:first-child {
    text-align: center;
}

#notice_list.custom-notice-table tbody td:last-child,
#notice_list.custom-notice-table > tr td:last-child {
    padding-right: 50px;
    text-align: right;
}

#notice_list.custom-notice-table a {
    color: #1A1A1A;
    text-decoration: none;
}

.custom-notice-table__empty {
    text-align: center;
}

.custom-notice #pagenation_area {
    margin-top: 72px;
}

.custom-notice .pagenation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-notice .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.custom-notice .page-item.active .page-link {
    border-radius: 50%;
    background: #0B5495;
    color: #fff;
}

.custom-notice .page-item.disabled .page-link {
    color: #C9C9C9;
    pointer-events: none;
}

.custom-notice__button-area {
    margin-top: 36px;
}

.custom-notice-detail {
    padding: 96px 0 128px;
    background: #fff;
}

.custom-notice-detail__inner {
    width: min(calc(100% - 80px), 1120px);
    margin: 0 auto;
}

.custom-notice-detail__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #d7e8f6;
    border-radius: 999px;
    color: #0B5495;
    background: #f3f9fe;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.custom-notice-detail__header {
    padding: 26px 0 34px;
    border-bottom: 1px solid #dfe4ea;
}

.custom-notice-detail__title {
    max-width: 960px;
    margin: 0;
    color: #111827;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
    word-break: keep-all;
}

.custom-notice-detail__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.4;
}

.custom-notice-detail__meta span + span {
    position: relative;
    padding-left: 18px;
}

.custom-notice-detail__meta span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 13px;
    background: #cbd5e1;
    transform: translateY(-50%);
}

.custom-notice-detail__content {
    min-height: 240px;
    padding: 44px 0 58px;
    border-bottom: 1px solid #dfe4ea;
    color: #1f2937;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.85;
    word-break: keep-all;
}

.custom-notice-detail__content p {
    margin: 0 0 14px;
}

.custom-notice-detail__content img {
    display: block;
    max-width: min(760px, 100%);
    height: auto !important;
    margin: 30px auto;
}

.custom-notice-detail__actions {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.custom-notice-detail__list-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 46px;
    padding: 0 22px;
    border: 1px solid #c9dff2;
    border-radius: 999px;
    color: #0B5495;
    background: #f3f9fe;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.custom-notice-detail__list-link:hover {
    border-color: #0B5495;
    color: #fff;
    background: #0B5495;
}

.custom-activity {
    width: 100%;
    padding: 104px 0 140px;
    box-sizing: border-box;
    background: #fff;
}

.custom-activity__inner {
    width: min(calc(100% - 154px), 1466px);
    margin-left: max(60px, calc((100% - 1500px) / 2));
    margin-right: 0;
}

.custom-activity__count {
    margin: 0 0 28px;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.custom-activity__count strong {
    color: #0B5495;
    font-weight: 700;
}

.custom-activity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 58px 28px;
    width: 100%;
}

.custom-activity-card {
    display: block;
    min-width: 0;
    color: #1A1A1A;
    text-decoration: none;
}

.custom-activity-card__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #E6E6E6;
}

.custom-activity-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-activity-card__title {
    display: block;
    margin-top: 18px;
    overflow: hidden;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-activity-card__date {
    display: block;
    margin-top: 7px;
    color: #9B9B9B;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.custom-activity__empty {
    grid-column: 1 / -1;
    margin: 40px 0;
    color: #777;
    font-size: 16px;
    text-align: center;
}

.custom-activity #pagenation_area {
    margin-top: 78px;
}

.custom-activity .pagenation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-activity .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.custom-activity .page-item.active .page-link {
    border-radius: 50%;
    background: #0B5495;
    color: #fff;
}

.custom-activity .page-item.disabled .page-link {
    color: #D7D7D7;
    pointer-events: none;
}

.custom-activity__button-area {
    margin-top: 36px;
}

.custom-activity-detail__title {
    max-width: 1240px;
    margin: 0;
    color: #1A1A1A;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.18;
    word-break: keep-all;
}

.custom-activity-detail__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.4;
}

.custom-activity-detail__divider {
    width: 100%;
    height: 1px;
    margin: 36px 0 34px;
    border: 0;
    background: #ddd;
}

.custom-activity-detail__thumb {
    width: min(720px, 100%);
    margin: 0 auto 48px;
}

.custom-activity-detail__thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.custom-activity-detail__content {
    color: #1A1A1A;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    word-break: keep-all;
}

.custom-activity-detail__content p {
    margin: 0 0 12px;
}

.custom-activity-detail__content img {
    display: block;
    max-width: min(720px, 100%);
    height: auto !important;
    margin: 28px auto;
}

@media (max-width: 1440px) {
    .custom-inquiry__inner {
        width: calc(100% - 80px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-notice__inner {
        width: calc(100% - 80px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-activity__inner {
        width: calc(100% - 80px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-page .custom-tabs {
        width: calc(100% - 80px);
        left: 40px;
    }
}

@media (max-width: 1100px) {
    .custom-inquiry__inner {
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-notice__inner {
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-activity__inner {
        width: calc(100% - 40px);
        margin-left: auto;
        margin-right: auto;
    }

    .custom-page .custom-tabs {
        width: calc(100% - 40px);
        left: 20px;
    }
}

@media (max-width: 768px) {
    .custom-page .custom-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        left: 0;
    }

    .custom-inquiry {
        padding: 72px 0 88px;
    }

    .custom-notice {
        padding: 72px 0 88px;
    }

    .custom-activity {
        padding: 72px 0 88px;
    }

    .custom-notice__count {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .custom-notice-detail {
        padding: 62px 0 88px;
    }

    .custom-notice-detail__inner {
        width: calc(100% - 40px);
    }

    .custom-notice-detail__eyebrow {
        min-height: 30px;
        padding: 0 12px;
        font-size: 13px;
    }

    .custom-notice-detail__header {
        padding: 20px 0 26px;
    }

    .custom-notice-detail__title {
        font-size: 30px;
        line-height: 1.25;
    }

    .custom-notice-detail__meta {
        gap: 12px;
        margin-top: 16px;
        font-size: 13px;
    }

    .custom-notice-detail__meta span + span {
        padding-left: 12px;
    }

    .custom-notice-detail__content {
        min-height: 180px;
        padding: 30px 0 42px;
        font-size: 16px;
        line-height: 1.75;
    }

    .custom-notice-detail__actions {
        margin-top: 28px;
    }

    .custom-activity__count {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .custom-activity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 18px;
    }

    .custom-activity-card__title {
        margin-top: 12px;
        font-size: 14px;
    }

    .custom-activity-card__date {
        font-size: 13px;
    }

    .custom-activity-detail__title {
        font-size: 34px;
    }

    .custom-activity-detail__meta {
        margin-top: 18px;
        font-size: 14px;
    }

    .custom-activity-detail__divider {
        margin: 28px 0;
    }

    .custom-activity-detail__thumb {
        margin-bottom: 36px;
    }

    .custom-activity-detail__content {
        font-size: 16px;
    }

    .custom-notice-table col.custom-notice-table__number {
        width: 52px;
    }

    .custom-notice-table col.custom-notice-table__date {
        width: 96px;
    }

    .custom-notice__table-wrap {
        overflow-x: visible;
    }

    #notice_list.custom-notice-table {
        min-width: 0;
    }

    .custom-notice-table thead th,
    .custom-notice-table tr.custom-notice-table__head th {
        height: 52px;
        padding: 0 8px;
        font-size: 13px;
    }

    #notice_list.custom-notice-table tbody td,
    #notice_list.custom-notice-table > tr td {
        height: 52px;
        padding: 0 8px;
        font-size: 13px;
    }

    #notice_list.custom-notice-table tbody td:nth-child(2),
    #notice_list.custom-notice-table > tr td:nth-child(2) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .custom-notice-table thead th:last-child,
    .custom-notice-table tr.custom-notice-table__head th:last-child,
    #notice_list.custom-notice-table tbody td:last-child,
    #notice_list.custom-notice-table > tr td:last-child {
        padding-right: 8px;
    }

    .custom-notice #pagenation_area {
        margin-top: 48px;
    }

    .custom-activity #pagenation_area {
        margin-top: 48px;
    }

    .custom-inquiry__banner {
        height: 170px;
        border-radius: 10px;
    }

    .custom-inquiry__banner p {
        font-size: 22px;
    }

    .custom-inquiry__form-wrap {
        margin-top: 52px;
    }

    .custom-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .custom-form-button {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .custom-inquiry .board-write .bigLoginBtn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .custom-inquiry {
        padding: 52px 0 64px;
    }

    .custom-activity-grid {
        grid-template-columns: 1fr;
    }

    .custom-activity-detail__title {
        font-size: 28px;
    }

    .custom-activity-detail__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
