@charset "utf-8";

p {
    word-break: keep-all;
}

.img-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* step-box*/
.step-box01 {
    margin-bottom: 20px;
}

.step-box01 li {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #eef5f5;
    border-radius: 10px;
    padding: 12px;
    position: relative;
}

.step-box01 li+li {
    margin-top: 30px;
}

.step-box01 li+li::before {
    content: "";
    display: block;
    width: 17px;
    height: 13px;
    background-image: url(/local/dorm/mdorm/images/step-arr.png);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -21px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
}

.step-box01 li .num {
    width: 48px;
    height: 48px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    color: var(--main-color01);
    font-size: 20px;
    font-family: var(--font-type02);
    font-weight: 700;
}

.step-box01 li p {
    margin: 0;
    font-size: 18px;
}

/* 인사말 */
.greeting {
    display: flex;
    flex-direction: column-reverse;
    gap: 60px;
}

.greeting .deco-txt {
    color: #555;
    letter-spacing: 5px;
    font-size: 15px;
}

.greeting .main-txt {
    color: #333;
    font-family: var(--font-type02);
    font-weight: 700;
    font-size: 25px;
    margin: 10px 0 40px;
}

.greeting .main-txt span {
    color: var(--main-color01);
}

.greeting .greet-txt p {
    font-weight: 400;
    color: #333;
    margin: 0;
}

.greeting .greet-txt p+p {
    margin-top: 20px;
}

.greeting .sign-txt {
    margin-top: 60px;
    text-align: right;
    color: #333;
}

.greeting .sign-txt p {
    margin: 0;
}

.greeting .sign-txt .name {
    color: #222;
    font-size: 26px;
    font-weight: 500;
}

.greeting .img {
    display: flex;
    justify-content: center;
}

.greeting .img img {
    max-width: 80%;
}

/* 연혁 */
.white {
    color: #fff;
}

.history {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.history .txt {
    position: relative;
}

.history .txt::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 100px;
    background-image: url(/local/dorm/mdorm/images/sub0101-img02.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -40px;
    left: -60px;
}

.history .txt .tit-h3 {
    position: relative;
    margin-top: 0;
}

.history .txt .tit-h3::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 62px;
    background-image: url(/local/dorm/mdorm/images/sub0101-img01.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    right: 0;
}

.year-list {
    position: relative;
}

.year-list::before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    border-left: 1px dashed #b9b9b9;
    position: absolute;
    top: 0;
    left: 80px;
}

.year-list>li {
    display: flex;
    gap: 60px;
    position: relative;
}

.year-list>li::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid var(--main-color01);
    position: absolute;
    left: 75px;
    top: 10px;
}

.year-list>li+li {
    margin-top: 20px;
}

.year-list>li .year {
    min-width: 50px;
    margin-bottom: 0;
    font-size: 20px;
    color: var(--main-color01);
    font-weight: bold;
}

.date-list {
    margin-top: 4px;
}

.date-list>li {
    display: flex;
    gap: 12px;
}

.date-list>li+li {
    margin-top: 8px;
}

.date-list>li p {
    margin: 0;
}

.date-list>li span {
    font-weight: bold;
}

/* 오시는 길 */
.map-wrap {
    border-radius: 10px;
    background-color: #f8fcff;
    box-shadow: 0 3px 20px rgba(000, 000, 000, 0.05);
    position: relative;
    margin-bottom: 40px;
}

.map {
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eeeeee;
}

.address {
    padding: 20px;
}

.address p {
    margin: 0;
    color: #222;
}

.map-tit {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.map-tit .ico {
    width: 30px;
    height: 30px;
    background-color: var(--main-color01);
    border-radius: 8px;
    background-image: url(/local/dorm/mdorm/images/address-con.png);
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

.map-tit>p {
    color: #021f54;
    font-weight: bold;
}

.address-txt {
    word-break: keep-all;
}

.map-btn {
    width: 80px;
    height: 80px;
    background: transparent linear-gradient(142deg, #1960dc 0%, #063d9e 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 20px rgba(000, 000, 000, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 240px;
    right: 20px;
    transition: 0.3s;
}

.map-btn:hover,
.map-btn:focus {
    transform: translateY(-10px);
}

.map-btn .ico {
    width: 40px;
    height: 40px;
    background-image: url(/local/dorm/mdorm/images/address-link.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.map-btn p {
    font-size: 15px;
    color: #fff;
    margin: 0;
}

@media (min-width: 575px) {

    /* 인사말 */
    .greeting .img img {
        max-width: 70%;
    }

    /* 연혁 */
    .years {
        margin-left: 80px;
    }
}

@media (min-width: 768px) {
    .img-flex {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .img-flex img {
        width: calc(50% - 5px);
    }

    .step-box01 {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .step-box01 li {
        width: calc(50% - 15px);
    }

    .step-box01 li+li {
        margin-top: 0;
    }

    .step-box01 li+li::before {
        top: 50%;
        left: -22px;
        transform: translate(0, -50%) rotate(0);
    }

    .step-box01 li:nth-child(2n)+li::before {
        display: none;
    }

    /* 인사말 */
    .greeting {
        flex-direction: row;
    }

    .greeting .deco-txt {
        letter-spacing: 5px;
        font-size: 18px;
    }

    .greeting .main-txt {
        font-size: 30px;
        margin: 10px 0 60px;
    }

    .greeting .greet-txt p {
        font-size: 18px;
    }

    .greeting .txt-wrap {
        width: 60%;
    }

    .greeting .sign-txt .name {
        font-size: 30px;
    }

    .greeting .img {
        width: 40%;
    }

    .greeting .img img {
        max-width: 100%;
        height: fit-content;
    }

    /* 연혁 */
    .history {
        flex-direction: row;
        gap: 80px;
    }

    .history .txt {
        width: 50%;
        height: fit-content;
    }

    .years {
        margin-left: 0;
    }

    /* 오시는 길 */
    .map {
        height: 360px;
    }

    .map-btn {
        top: 320px;
    }
}

@media (min-width: 992px) {
    .img-flex {
        gap: 15px;
    }

    .img-flex img {
        width: calc((100% / 3) - 10px);
    }

    .history .txt {
        max-width: 400px;
        width: 100%;
    }

    .history .txt::before {
        width: 120px;
        height: 120px;
        bottom: -60px;
    }

    .year-list>li::before {
        width: 12px;
        height: 12px;
        border: 3px solid var(--main-color01);
        top: 13px;
    }

    .year-list>li .year {
        min-width: 60px;
        font-size: 24px;
    }

    .date-list {
        margin-top: 6px;
    }

    /* 오시는 길 */
    .map-wrap {
        margin-bottom: 60px;
    }

    .address {
        display: flex;
        align-items: center;
        gap: 25px;
        padding: 30px 50px;
    }

    .address p {
        font-size: 20px;
    }

    .map-tit {
        gap: 12px;
        margin-bottom: 0;
    }

    .map-tit>p {
        font-size: 20px;
    }

    .map-tit .ico {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .map-btn {
        right: 50px;
    }
}

@media (min-width: 1200px) {
    .step-box01 {
        gap: 20px 40px;
    }

    .step-box01 li {
        width: calc(25% - 30px);
    }

    .step-box01 li:nth-child(2n)+li::before {
        display: block;
    }

    .step-box01 li:nth-child(4n)+li::before {
        display: none;
    }

    .history {
        gap: 100px;
    }

    .history .txt {
        max-width: 540px;
    }

    .history .txt::before {
        width: 146px;
        height: 146px;
        bottom: -68px;
        left: -70px;
        background-size: unset;
    }

    .history .txt .tit-h3 {
        width: fit-content;
    }

    .history .txt .tit-h3::after {
        width: 44px;
        right: -104px;
    }

    .year-list::before {
        left: 110px;
    }

    .year-list>li {
        gap: 100px;
    }

    .year-list>li+li {
        margin-top: 30px;
    }

    .year-list>li::before {
        left: 105px;
    }

    .date-list>li {
        gap: 24px;
    }

    /* 오시는길 */
    .map {
        height: 480px;
    }

    .address {
        gap: 40px;
    }

    .map-btn {
        width: 100px;
        height: 100px;
        top: 430px;
        gap: 2px;
    }

    .map-btn .ico {
        width: 44px;
        background-size: unset;
    }
}

@media (min-width: 1400px) {

    /* 인사말 */
    .greeting {
        gap: 160px;
    }

    .greeting .main-txt {
        font-size: 36px;
        margin: 15px 0 60px;
    }

    .greeting .txt-wrap {
        max-width: 746px;
        width: 100%;
    }

    .greeting .greet-txt p+p {
        margin-top: 32px;
    }

    .greeting .img {
        width: fit-content;
    }

    /* 연혁 */
    .history {
        gap: 160px;
    }
}

@media (min-width: 1500px) {
    .step-box01 li+li::before {
        left: -27px;
    }

    .history {
        padding-top: 60px;
        gap: 200px;
    }

    .years {
        margin-right: 120px;
    }

    .year-list::before {
        left: 146px;
    }

    .year-list>li {
        gap: 132px;
    }

    .year-list>li::before {
        left: 141px;
    }

    .year-list>li+li {
        margin-top: 40px;
    }

    .date-list>li+li {
        margin-top: 16px;
    }
}

/*편의시설*/
/*20250305 jyg*/
.f-box+.f-box {
    margin-top: 40px;
}

.facility-img {
    position: relative;
    margin-bottom: 15px;
}

.facility-box {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 100%;
    height: 60px;
    line-height: 60px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .facility-img {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .facility-box {
        font-size: 22px;
    }
}

/* 식단표 */
.meal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    background: #FAF9FA;
    /* border: 1px solid #eee; dukim 주석 */
    border-radius: 8px;
    padding: 8px;
    margin: 8px 0 15px;
}

.meal-list .item {
    display: flex;
    gap: 0 8px;
    align-items: center;
}

.meal-list .item .tit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.12);
    margin-bottom: 0;
}

.meal-list .item.meal01 .tit {
    background: #ee6500;
}

.meal-list .item.meal02 .tit {
    background: #069;
}

.meal-list .item.meal03 .tit {
    background: #5f00ff;
}

.line-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
}

.line-list>li:not(:first-child) {
    position: relative;
    padding-left: 10px;
}

.line-list>li:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    display: block;
    width: 3px;
    height: 3px;
    background: #bbb;
    box-shadow: 0 6px 0 #bbb;
    border-radius: 5px;
}

.line-list>li:first-child:before {
    display: none;
}

@media (min-width: 768px) {
    .meal-list {
        display: flex;
        gap: 8px 40px;
        padding: 12px;
    }

    .meal-list .item {
        gap: 0 15px;
    }

    .meal-list .item .tit {
        width: 50px;
        height: 50px;
        font-size: 18px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    }
}