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


/* ==============================
   Layout
============================== */
#mContainer {
    position: relative;
    margin-bottom: 60px;
}

#mContainer section {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1s ease, transform 1s ease;
}

#mContainer section.on {
    opacity: 1;
    transform: translateY(0);
}


/* ==============================
   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;
}


/* ==============================
   Main Visual
============================== */
.main_visual {
    position: relative;
    overflow: hidden;
}

.main_slider li {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.main_slider li.active {
    opacity: 1;
}

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

.mv_box {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    text-align: center;
    transform: translate(-50%, -50%);
}

.mv_logo {
    margin-bottom: 40px;
}

.mv_btn ul {
    display: inline-block;
}

.mv_btn li {
    float: left;
    margin: 0 15px;
}

.mv_video {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mv-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


/* ==============================
   Medical Subject
============================== */
.medical_subject {
    height: 385px;
    background: url("../img/main/msj_bg.png") right bottom no-repeat #edf8ff;
}

.msj_title {
    float: left;
    font-family: "Pretendard_SB";
    font-size: 36px;
}

.msj_title > div {
    display: table-cell;
    height: 385px;
    vertical-align: middle;
}

.msj_title span {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.msj_box {
    float: right;
}

.msj_box ul {
    padding-top: 112.5px;
}

.msj_box li {
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 160px;
    height: 160px;
    margin-left: 40px;
    overflow: hidden;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.5s ease;
}

.msj_box li:hover {
    background-color: rgba(255, 255, 255, 1);
}


/* ==============================
   Doctor
============================== */
.doctor {
    position: relative;
    padding: 100px 0;
}

.doctor::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 200px;
    z-index: -1;
    display: block;
    width: 1260px;
    height: 350px;
    background: url("../img/main/doctor_bg.png") no-repeat;
    transform: translateX(-740px);
}

.doctor_title {
    position: relative;
    margin-bottom: 100px;
    font-family: "Pretendard_SB";
    font-size: 36px;
    text-align: center;
}

.doctor_title span {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.doctor_list {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.doctor_item {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.doctor_item.on {
    opacity: 1;
    transform: translateY(0);
}


/* ==============================
   Review
============================== */
.review {
    padding: 100px 0;
    background: url("../img/main/review_bg.png") center center / cover no-repeat;
}

.review_title {
    margin-bottom: 100px;
    font-family: "Pretendard_SB";
    font-size: 36px;
    text-align: center;
    letter-spacing: 0;
}

.review_title span {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.review_latest {
    text-align: center;
}

.review_latest ul {
    display: inline-block;
}

.review_latest li {
    float: left;
    width: 370px;
    height: 440px;
    margin-right: 10px;
    background: #fff;
}

.review_latest li:last-child {
    margin-right: 0;
}

.review_img {
    height: 200px;
    margin-bottom: 30px;
    background: #ddd;
}

.review_img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.review_icon {
    width: 85px;
    height: 25px;
    margin: 0 auto;
    color: #fff;
    background: #144891;
    font-family: "Pretendard_SB";
    font-size: 16px;
    line-height: 25px;
    text-align: center;
}

.review_icon a {
    color: #fff;
}

.review_subject {
    margin: 15px 0;
    font-family: "Pretendard_SB";
    font-size: 24px;
}

.review_subject a {
    color: #000;
}

.review_text {
    padding: 0 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.5em;
    text-align: left;
}

.review_text a {
    color: #666;
}


/* ==============================
   Interior
============================== */
.interior {
    height: 555px;
    padding-top: 100px;
    box-sizing: border-box;
    background: url("../img/main/interior_bg.png") left top no-repeat #1b3a66;
}

.interior .left {
    position: relative;
    float: left;
}

.interior .right {
    float: right;
}

.interior_title {
    clear: left;
    color: #fff;
    font-family: "Pretendard_SB";
    font-size: 36px;
    line-height: 1em;
}

.interior_title span {
    color: #ccc;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.interior_thumb {
    position: absolute;
    top: 270px;
    left: 0;
    width: 770px;
}

.interior_thumb a {
    display: inline-block;
    margin-right: 10px;
}

.interior_thumb img {
    width: 180px;
    height: 135px;
    object-fit: cover;
}

.interior_thumb a.active img {
    border: 3px solid #fff;
}

.interior_slider {
    width: 750px;
    height: 550px;
}


/* ==============================
   Meal Plan
============================== */
#section3 {
    margin-bottom: 280px;
}

.meal_plan {
    margin-bottom: 130px;
}

.mp_title {
    position: relative;
    margin-bottom: 50px;
    font-family: "Pretendard_SB";
    font-size: 36px;
}

.mp_title span {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.mp_more {
    position: absolute;
    top: 0;
    right: 0;
}

.weekly_menu {
    float: left;
    margin-right: 10px;
}

.mp_latest {
    float: left;
}

.mp_latest li {
    float: left;
    width: 370px;
    margin-right: 10px;
}

.mp_latest li:last-child {
    margin-right: 0;
}

.mp_latest img {
    width: 100%;
    height: 370px;
    object-fit: cover;
}


/* ==============================
   News
============================== */
.news {
    height: 925px;
    padding-top: 320px;
    box-sizing: border-box;
    background: url("../img/main/news_bg.png") center center / cover no-repeat;
}

.news_box {
    float: right;
    width: 960px;
}

.news_latest {
    border-top: 1px solid #aaa;
}

.news_latest li {
    position: relative;
    padding: 40px 0 40px 40px;
    border-bottom: 1px solid #aaa;
}

.news_more {
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -24px;
}

.news_icon {
    margin-bottom: 10px;
}

.news_icon img {
    display: inline;
}

.news_date {
    color: #ccc;
    font-family: "Pretendard_L";
    font-size: 16px;
}

.news_subject {
    margin-bottom: 20px;
    color: #fff;
    font-family: "Pretendard_SB";
    font-size: 36px;
}

.news_subject a {
    color: #fff;
}

.news_text {
    color: #ddd;
    font-family: "Pretendard_R";
    font-size: 18px;
}

.news_text a {
    color: #ddd;
}


/* ==============================
   Location
============================== */
#section4 {
    margin-bottom: 200px;
}

.location {
    margin-bottom: 100px;
}

.location .left {
    float: left;
}

.location .right {
    float: right;
    width: 650px;
    height: 600px;
    background: #ddd;
}

.location_title {
    margin-bottom: 50px;
    font-family: "Pretendard_SB";
    font-size: 36px;
}

.location_title span {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.location_box {
    margin-bottom: 50px;
}

.location_box::after {
    content: "";
    display: block;
    clear: both;
}

.location_box .adr {
    clear: left;
    width: 100%;
    height: 180px;
    padding: 30px;
    box-sizing: border-box;
    background: #f2f5fa;
}

.location_box .adr li:nth-child(1) {
    margin-bottom: 40px;
    font-family: "Pretendard_SB";
    font-size: 28px;
}

.location_box .adr li:nth-child(2) {
    margin-bottom: 10px;
    font-family: "Pretendard_M";
    font-size: 18px;
}

.location_box .adr li:nth-child(3) {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 18px;
}

.location_box .sub {
    float: left;
    width: 190px;
    height: 130px;
    padding: 20px 0 0 30px;
    box-sizing: border-box;
    background: #144891;
}

.location_box .sub li:nth-child(1) {
    margin-bottom: 10px;
    padding-left: 30px;
    color: #fff;
    background: url("../img/main/sub_icon.png") left center no-repeat;
    font-family: "Pretendard_SB";
    font-size: 24px;
    line-height: 28px;
}

.location_box .sub li:nth-child(2),
.location_box .sub li:nth-child(3) {
    color: #fff;
    font-family: "Pretendard_M";
    font-size: 16px;
}

.location_box .sub li:nth-child(2) {
    margin-bottom: 5px;
}

.location_box .bus {
    float: left;
    width: 385px;
    height: 130px;
    padding: 20px 0 0 30px;
    box-sizing: border-box;
    background: #253142;
}

.location_box .bus li:nth-child(1) {
    margin-bottom: 10px;
    padding-left: 40px;
    color: #fff;
    background: url("../img/main/bus_icon.png") left center no-repeat;
    font-family: "Pretendard_SB";
    font-size: 24px;
    line-height: 28px;
}

.location_box .bus li:nth-child(2) {
    margin-bottom: 5px;
    color: #fff;
    font-family: "Pretendard_M";
    font-size: 16px;
}

.location_box .bus li:nth-child(3) {
    color: #86a6d4;
    font-family: "Pretendard_M";
    font-size: 12px;
}

.location_btn {
    clear: both;
}

.location_btn li {
    float: left;
    margin-right: 10px;
}


/* ==============================
   Partner
============================== */
.partner_title {
    margin-bottom: 40px;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.partner_slider {
    width: 100%;
    overflow: hidden;
}

.partner_slider ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partner_slider li {
    flex: 0 0 auto;
    /* width: 150px; */
    margin-right: 20px;
}

.partner_slider li:last-child {
    margin-right: 0;
}

.partner_slider li img {
    width: 100%;
    height: 35px;
    object-fit: contain;
}