@import url("base.css");
@import url("header.css");
@import url("footer.css");


/* ==============================
    Layout
============================== */
#sContainer {
    position: relative;
    margin-bottom: 200px;
}


/* ==============================
    Right Fixed Menu
============================== */
#right {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: 795px;
    transform: translateY(-50%);
    z-index: 100;
}

.doctor_consult {
    position: relative;
    width: 97px;
    height: 141px;
    margin-bottom: 30px;
    overflow: hidden;
}

.doctor_consult li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    transition: opacity 0.5s ease;
}

.doctor_consult li.active {
    opacity: 1;
}

.doctor_consult li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right_nav {
    margin-bottom: 10px;
    border-radius: 5px;
    background: #144891;
}


/* ==============================
    Sub Visual
============================== */
.sub_visual {
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
}

.sub_visual_bg {
    position: relative;
    width: 100%;
    height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: url('/img/sub/bg_05.jpg') center center / cover no-repeat;
}

.sub_visual_bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.48);
}

.sub_visual_inner {
    width: 1520px;
    margin: 0 auto;
}

.sub_visual_text {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;
}

.sub_visual_text .plus {
    font-family: 'Pretendard_SB';
    font-size: 40px;
    line-height: 1;
}

.sub_visual_text h2 {
    margin: 10px 0;

    font-family: 'Pretendard_SB';
    font-size: 48px;
}

.sub_visual_text p {
    margin: 0;

    font-size: 20px;
    color: #eee;
}


/* ==============================
    Sub Title
============================== */
.sub_title {
    margin-bottom: 80px;
    text-align: center;
}

.sub_title span {
    display: block;
    margin-bottom: 16px;

    font-size: 16px;
    font-weight: 700;
    color: #1459aa;
    letter-spacing: 0.16em;
}

.sub_title h2 {
    margin-bottom: 24px;

    font-size: 48px;
    font-weight: 800;
    color: #111;
}

.sub_title p {
    font-size: 22px;
    line-height: 1.6;
    color: #444;
}


.location_container {
    width: 100%;
    background: #fff;
}

.location_inner {
    width: 1520px;
    margin: 0 auto;
    /* padding: 100px 0 140px; */
}

.location_intro {
    text-align: center;
    margin-bottom: 90px;
}

.location_intro h3 {
    font-size: 42px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    margin-bottom: 24px;
}

.location_intro p {
    font-size: 20px;
    color: #555;
}

.reserve_box {
    width: 760px;
    margin: 50px auto 35px;
    padding: 38px 50px;
    border-radius: 20px;
    background: #f5f8fc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tel_box span {
    display: block;
    font-size: 17px;
    color: #666;
    margin-bottom: 8px;
}

.tel_box strong {
    font-size: 34px;
    color: #1459aa;
    font-weight: 800;
}

.reserve_btns {
    display: flex;
    gap: 12px;
}

.reserve_btns a {
    width: 150px;
    height: 52px;
    border-radius: 26px;
    background: #1459aa;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reserve_btns a:nth-child(2) {
    background: #111;
}

.notice_box {
    width: 760px;
    margin: 0 auto;
    padding: 28px 35px;
    border: 1px solid #e5e5e5;
    text-align: left;
}

.notice_box strong {
    display: block;
    font-size: 18px;
    color: #111;
    margin-bottom: 15px;
}

.notice_box li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.section_title {
    text-align: center;
    margin-bottom: 50px;
}

.section_title h3 {
    font-size: 38px;
    font-weight: 700;
    color: #111;
}

.info_grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 50px;
    margin-bottom: 70px;
}

.time_box,
.map_box {
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 45px;
    background: #fff;
}

.time_box h4,
.map_box h4,
.parking_box h4 {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
}

.time_box ul {
    border-top: 2px solid #111;
}

.time_box li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid #eee;
}

.time_box li span {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.time_box li strong {
    font-size: 22px;
    color: #1459aa;
    font-weight: 700;
}

.time_box p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-top: 16px;
}

.map_area {
    width: 100%;
    height: 390px;
    background: #e9e9e9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 18px;
    margin-bottom: 28px;
}

.address {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.address strong {
    font-size: 18px;
    color: #111;
}

.address p {
    font-size: 18px;
    color: #333;
}

.map_links {
    display: flex;
    gap: 12px;
}

.map_links a {
    width: 150px;
    height: 48px;
    border-radius: 24px;
    border: 1px solid #1459aa;
    color: #1459aa;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map_links a:hover {
    background: #1459aa;
    color: #fff;
}

.traffic_area {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 70px;
}

.traffic_item {
    min-height: 230px;
    padding: 40px;
    border-radius: 24px;
    background: #f7f9fc;
    display: flex;
    gap: 24px;
}

.traffic_icon {
    position: relative;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 1px solid #d9e2ef;
    background: #fff;
    flex-shrink: 0;
}

/* 지하철 */
.traffic_icon.subway::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 14px;
    width: 32px;
    height: 32px;
    border: 3px solid #1459aa;
    border-radius: 8px 8px 12px 12px;
    box-sizing: border-box;
}

.traffic_icon.subway::after {
    content: "";
    position: absolute;
    left: 23px;
    top: 23px;
    width: 20px;
    height: 7px;
    border-top: 3px solid #1459aa;
    border-bottom: 3px solid #1459aa;
    box-sizing: border-box;
}

.traffic_icon.subway span::before,
.traffic_icon.subway span::after {
    content: "";
    position: absolute;
    bottom: 14px;
    width: 7px;
    height: 7px;
    background: #1459aa;
    border-radius: 50%;
}

.traffic_icon.subway span::before {
    left: 22px;
}

.traffic_icon.subway span::after {
    right: 22px;
}

/* 버스 */
.traffic_icon.bus::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 15px;
    width: 36px;
    height: 31px;
    border: 3px solid #1459aa;
    border-radius: 9px 9px 7px 7px;
    box-sizing: border-box;
}

.traffic_icon.bus::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 23px;
    width: 24px;
    height: 8px;
    border-top: 3px solid #1459aa;
    border-bottom: 3px solid #1459aa;
    box-sizing: border-box;
}

.traffic_icon.bus span::before,
.traffic_icon.bus span::after {
    content: "";
    position: absolute;
    bottom: 14px;
    width: 7px;
    height: 7px;
    background: #1459aa;
    border-radius: 50%;
}

.traffic_icon.bus span::before {
    left: 22px;
}

.traffic_icon.bus span::after {
    right: 22px;
}

/* 자동차 */
.traffic_icon.car::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 25px;
    width: 38px;
    height: 18px;
    border: 3px solid #1459aa;
    border-radius: 10px 10px 7px 7px;
    box-sizing: border-box;
}

.traffic_icon.car::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 17px;
    width: 22px;
    height: 15px;
    border: 3px solid #1459aa;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
}

.traffic_icon.car span::before,
.traffic_icon.car span::after {
    content: "";
    position: absolute;
    bottom: 15px;
    width: 7px;
    height: 7px;
    background: #1459aa;
    border-radius: 50%;
}

.traffic_icon.car span::before {
    left: 21px;
}

.traffic_icon.car span::after {
    right: 21px;
}

.traffic_item h4 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 18px;
}

.traffic_item p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

.parking_box {
    padding: 50px 60px;
    border-radius: 24px;
    background: #111;
    color: #fff;
}

.parking_box h4 {
    color: #fff;
}

.parking_box p {
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
}