/* ========= 커스텀 페이지 ========= */
@keyframes floating {

    0%,
    100% {
        transform: translateY(-30px);
    }

    50% {
        transform: translateY(-45px);
    }
}

.sec-custom-section {
    position: relative;
    min-height: 110vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 140px;
}

.sec-custom-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.sec-custom-images {
    position: absolute;
    left: 12%;
    top: 40%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 3;
}

.sec-custom-image-item {
    display: block;
}

.sec-custom-image-item:nth-child(1) {
    margin-right: -70px;
    align-self: center;
}

.sec-custom-image-item:nth-child(2) {
    margin-right: -110px;
    align-self: center;
}

.sec-custom-image-item:nth-child(3) {
    margin-right: 0;
    transform: translateY(-30px);
    align-self: center;
}

.sec-custom-image-item img {
    display: block;
    width: auto;
    height: auto;
}

.sec-floating {
    animation: floating 3s ease-in-out infinite;
}

.sec-custom-title {
    position: absolute;
    top: 40px;
    right: 30%;
    font-family: 'Dream Orphans', serif;
    font-weight: 400;
    font-size: 64px;
    color: #333;
    z-index: 2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    height: auto;
    white-space: nowrap;
}

.sec-custom-content {
    position: absolute;
    right: 12.5%;
    top: 600px;
    z-index: 2;
    max-width: 500px;
    color: #333;
}

.sec-custom-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.sec-custom-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.4;
}

.sec-custom-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sec-custom-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.sec-custom-number {
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #333;
    flex-shrink: 0;
    line-height: 1;
}

.sec-custom-text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 200;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    flex: 1;
}

/* Section wrapper */
.section-rejudia {
    position: relative;
    background: #fff;
    padding: 120px 24px 0;
    overflow: hidden;
}

/* Inner max width */
.rejudia-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Headings */
.rejudia-head {
    text-align: center;
    margin-bottom: 36px;
}

.rej-about {
    font-family: "Dream Orphans", sans-serif;
    /* dream orphans_regular_36 */
    font-weight: 400;
    font-size: 36px;
    line-height: 1.1;
    color: #000;
    display: inline-block;
}

.rej-brand {
    font-family: "Dream Orphans", sans-serif;
    /* dream orphans_regular_48 */
    font-weight: 400;
    font-size: 48px;
    line-height: 1.1;
    margin-top: 6px;
    display: inline-block;
}

.rej-sub {
    margin-top: 14px;
    font-family: "Noto Serif KR", serif;
    /* noto serif kr_regular_24 */
    font-weight: 400;
    font-size: 24px;
    color: #333;
}

/* Description */
.rejudia-body {
    text-align: center;
    margin: 22px auto 56px;
    max-width: 960px;
}

.rej-desc {
    margin: 18px 0;
    font-family: "Pretendard", sans-serif;
    /* pretendard_thin_20 */
    font-weight: 200;
    font-size: 20px;
    line-height: 1.85;
    color: #666;
}

.rej-desc span {
    font-weight: 600;
}

/* Bottom features bar */
.rejudia-features {
    margin-top: 60px;
    background: #E9F2FF;
    border-radius: 10px 10px 0 0;

    /* 화면 전체로 확장 */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.rejudia-features .feat-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 18px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: start;
    text-align: center;
}

.feat-list>li {
    position: relative;
    padding: 0 28px;
}

.feat-list>li+li {
    border-left: 1px solid rgba(0, 0, 0, .08);
    /* column divider */
}

.feat-list img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 14px;
    display: block;
}

.feat-ttl {
    font-family: "Pretendard", sans-serif;
    /* pretendard_bold_16 */
    font-weight: 700;
    font-size: 16px;
    color: #1b1b1b;
}

.feat-sub {
    margin-top: 6px;
    font-family: "Pretendard", sans-serif;
    /* pretendard_light_16 */
    font-weight: 300;
    font-size: 16px;
    color: #222;
    line-height: 1.5;
}