﻿
/*-----------------------------------------------------------
Author : yejin, Son
Creative date :2022. 03. 02
-----------------------------------------------------------*/

/* 메인비주얼 */
.MVisual0004 { position: relative; height: 100%; overflow:hidden;}
.MVisual0004 .item{overflow:hidden; line-height:0;}
.MVisual0004 .item img{position:relative; width:auto; height:100%; left:50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%);}
.MVisual0004 .control{position:absolute; left:50%; margin-left:-30rem; bottom:0; z-index:1;}
.MVisual0004 .control > a{display:inline-block; width:2rem; height:2rem; line-height:2rem; background:rgb(17, 50, 30, 0.5); color:#fff; text-align: center; border-radius:50%; -webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
.MVisual0004 .control > a.play{display:none;}
.MVisual0004 .control > a:hover,
.MVisual0004 .control > a:focus{ background:rgb(17, 50, 30, 0.9);}

/* 바로가기1 */
.M_link0004 { position:relative; height:100%; }
.M_link0004 ul{display:table; width: 100%; table-layout:fixed;}
.M_link0004 li { position:relative; display:table-cell; vertical-align:top; z-index:1; }
.M_link0004 li ~ li::before{ position: absolute; top: 50%; left: 0; transform: translateY(-50%); -webkit-transform: translateY(-50%); width: 2px; height: 4.3rem; border-left: 2px dashed #f4f4f4; content: ""; }
.M_link0004 li a { display:block; position:relative; width:100%; word-break: keep-all; text-align:center; }
.M_link0004 li a .img { position: relative; }
.M_link0004 li a .txt { font-size:0.9rem; line-height:1rem; height:2rem; padding:0 0.5rem; overflow:hidden; font-weight: 600; color:#000; margin-top: 1.35rem; }
.M_link0004 li a .txt span{ position: relative; }
/** 바로가기1 : active **/
.M_link0004 li a:hover .img::before,
.M_link0004 li a:focus .img::before{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); width: 4.65rem; height: 4.65rem; background: #f3f3f3; border-radius: 50%; content: ""; z-index: -1; }
.M_link0004 li a:hover .txt span::before,
.M_link0004 li a:focus .txt span::before{ opacity: 1; }
.M_link0004 li a,
.M_link0004 li a .txt { -webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }

/* 갤러리 */
.gallery0004 { position:relative; height:100%; border: 2px dashed #8bc41d; border-radius: 1rem; box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.16); padding: 1.2rem 1.5rem 1.8rem; }
.gallery0004 h2 { overflow:hidden; white-space:nowrap; margin-right:3rem; margin-bottom:1rem; color:#121402; font-size:1.2rem; text-align:center; font-weight: 700; }
.gallery0004 .list_box a { position:relative; display:block; color:#fff; }
.gallery0004 .list_box a .img{ height:11.7rem; overflow:hidden; border-radius:2rem; background:#e1e1e1; }
.gallery0004 .list_box a .img img { position:relative; top:50%; left:50%; transform:translate(-50%, -50%); width:auto; height:100%; }
.gallery0004 .list_box a .txt{ font-size: 1rem; color: #000; font-weight: 600; margin-top: 1.1rem; white-space: nowrap; width: calc(100% - 4rem); overflow: hidden; text-overflow: ellipsis; }
.gallery0004 .list_box a .txt span{ position: relative; }
.gallery0004 .list_box a .txt span::before{ position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); width: 100%; height: 0.85rem; background: #ecf593; border-radius: 1rem; content: ""; z-index: -1; }
.gallery0004 .list_box.no_data{ text-align:center; font-size:.9rem; color:#333; padding:5rem 1rem;}
.gallery0004 .nss_pg{position: absolute; bottom: 1.6rem; right: 1.5rem; }
.gallery0004 .nss_pg a {display: inline-block; width: 1.65rem; height: 1.65rem; line-height: 1.65rem; border-radius: 50%; background: #ddd; color: #fff; text-align: center; overflow: hidden; font-size:1rem; vertical-align: middle; }
.gallery0004 .btn_more { overflow:hidden; position:absolute; top:1.2rem; right:1.5rem; width:1.6rem; height:1.6rem; line-height: 1.6rem; border-radius: 50%; background: #8bc41d; color: #fff; text-align: center; }
/** 갤러리 : active **/
.gallery0004 .btn_more:hover i,
.gallery0004 .btn_more:focus i { transform: rotate(180deg); -webkit-transform: rotate(180deg); }
.gallery0004 .nss_pg a:hover,
.gallery0004 .nss_pg a:focus{ background: #8bc41d; }
.gallery0004 .btn_more i{-webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }

/* 캘린더 */
.pop_schedule0004 { position:relative; height:100%; overflow: hidden; border: 2px solid #be7df1; box-shadow: 3px 3px 10px rgba(140, 141, 143, 0.3); border-radius: 1rem; }
.pop_schedule0004 .sche_wrap{ position: relative; height: 100%; }
.pop_schedule0004 .month { position:relative; width: 42.5%; height:100%; float: left; line-height:2.85rem; text-align:center; background: #be7df1; color: #fff; }
.pop_schedule0004 .month .month_wrap > a { position:absolute; top:4.6rem; width:1.65rem; height:1.65rem; line-height: 1.65rem; border-radius: 50%; color:#fff; background:#ac57ef; z-index: 2;}
.pop_schedule0004 .month .month_wrap .prev { left:0.8rem; }
.pop_schedule0004 .month .month_wrap .next { right:0.8rem; }
.pop_schedule0004 .month .month_wrap .year { font-size: 1rem; line-height: 1; margin: 1.3rem 0; }
.pop_schedule0004 .month .month_wrap > span { position: relative; display: block; width: 3.5rem; height: 3.5rem; line-height: 3.5rem; background: #fff; border-radius: 50%; font-size: 1.5rem; font-weight: 600; color:#ac57ef; margin: 0 auto; }
.pop_schedule0004 .month .month_wrap > span:before{content:""; position:absolute; left:50%; top:50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); width:calc(100% + 0.8rem); height:calc(100% + 0.8rem); border-radius:50%; border: 2px dashed #fff; }
.pop_schedule0004 .lst { position:relative; float: left; width: 57.5%; height: 100%; z-index:1; padding:1.5rem 1rem;}
.pop_schedule0004 .lst ul { overflow-y:auto; height:8rem; padding-right:0.5rem;}
.pop_schedule0004 .lst .no_data { padding-left:0; padding-top:3.5rem; text-align:center; }
.pop_schedule0004 .lst li a { position:relative; padding-left:2rem; display:block; line-height:2.5; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:0.8rem; font-weight: 600; color:#222;}
.pop_schedule0004 .lst li a span{ position:absolute; left:0; top:.2rem; width:1.65rem; height:1.65rem; line-height:1.65rem; font-size:.8rem; border-radius:50%; text-align:center; color:#ac57ef; background:rgba(190, 125, 241, 0.2);}
.pop_schedule0004 .btn_more { overflow:hidden; position:absolute; bottom:1rem; left:50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); width: 80%; line-height: 1; border-radius: 2rem; font-weight: 600; font-size: 0.8rem; color: #fff; background: #ac57ef; padding: 0.4rem 0; text-align: center; }
.pop_schedule0004 .btn_more i{margin-right: 0.7rem; -webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
/** 캘린더 : active **/
.pop_schedule0004 .btn_more:hover i,
.pop_schedule0004 .btn_more:focus i { transform: rotate(180deg); -webkit-transform: rotate(180deg); }
.pop_schedule0004 .month .month_wrap .prev:hover,
.pop_schedule0004 .month .month_wrap .prev:focus{ transform: translateX(-4px); -webkit-transform: translateX(-4px); }
.pop_schedule0004 .month .month_wrap .next:hover,
.pop_schedule0004 .month .month_wrap .next:focus{ transform: translateX(4px); -webkit-transform: translateX(4px); }
.pop_schedule0004 .lst li a:hover,
.pop_schedule0004 .lst li a:focus { text-decoration:underline; }
.pop_schedule0004 .lst li a:hover span,
.pop_schedule0004 .lst li a:focus span{ background:#ac57ef; color: #fff; }
.pop_schedule0004 a,
.pop_schedule0004 a span{-webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }

/* 팝업존 */
.pop0004 { position:relative; width:100%; height:100%; box-shadow: 3px 3px 10px rgba(140, 141, 143, 0.3); border-radius: 1.5rem; overflow: hidden; }
.pop0004 .tit_wrap{ position:absolute; right:0; bottom: 0; padding: 0 0.9rem; text-align: center; z-index: 1; background: rgba(0, 0, 0, 0.7); border-top-left-radius: 0.5rem; }
.pop0004 h2 { color:#222; font-weight:600; font-size:1.1rem; line-height:2rem; }
.pop0004 .nss_pg p { display: inline-block; margin-right: 1.3rem; line-height:2rem; color:#fff; font-size:.75rem; font-weight: 700; vertical-align: middle; }
.pop0004 .nss_pg a {display: inline-block; overflow: hidden; font-size:1rem; color: #fff; vertical-align: middle; }
.pop0004 .nss_pg a ~ a{margin-left: 1.5rem; }
.pop0004 .nss_pg .play {display: none;}
.pop0004 .pop_img { position:relative; height:11.25rem; overflow: hidden; text-align:center; border-radius:1.5rem; background:rgba(0,0,0,0.1);}
.pop0004 .pop_img div,
.pop0004 .pop_img .item {height:100%;}
.pop0004 .pop_img .item a { display: block; height:100%; line-height:0; text-align:center; overflow:hidden;}
.pop0004 .pop_img .item img {position:relative; max-width:100%; width:auto; height:100%;}

/* 식단 */
.meal_menu0004 { position:relative; width: 100%; height:100%; background: #ee7b5a; box-shadow: 3px 3px 10px rgba(140, 141, 143, 0.3); border-radius: 1.5rem; overflow: hidden; padding: 1rem 1.5rem; }
.meal_menu0004 .tit_wrap{ position:relative; }
.meal_menu0004 h2 { position:relative; display:inline-block; max-width:calc(100% - 5rem); color:#fff; font-weight:700; font-size:1.2rem; line-height:1.5rem; padding-right:1rem; padding-left: 6.8rem; white-space: nowrap; }
.meal_menu0004 .inner { position:relative; z-index:1; margin-top: 0.5rem;}
.meal_menu0004 .inner ul { overflow-y:auto; height:3rem; margin-left: 6.8rem;}
.meal_menu0004 .inner li:not(.no_data) { padding-right:1rem; }
.meal_menu0004 .inner li + li { margin-top:1rem; }
.meal_menu0004 .inner .no_data { line-height: 3rem; text-align:center; color: #fff; }
.meal_menu0004 .inner dl { position:relative; }
.meal_menu0004 .inner dt { position:absolute; top:0; left:0; border-radius: 0.5rem; background: #fff; padding: 0.2rem 1rem; font-weight: 600; }
.meal_menu0004 .inner dt span { display:table-cell; vertical-align: middle; color: #000; font-size: 0.9rem;  }
.meal_menu0004 .inner dt span em{ position: relative; display:inline-block; padding-left: 1rem; margin-left: 1rem; }
.meal_menu0004 .inner dt span em::before{ position: absolute; top: 50%; left: 0; transform: translateY(-50%); -webkit-transform: translateY(-50%); width: 1px; height: 15px; background: #000; content: ""; }
.meal_menu0004 .inner dd { color:#fff; font-size:0.8rem; word-break:keep-all; padding-top: 2rem; font-weight: 600; }
.meal_menu0004 > img{position:absolute; left:1.5rem; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); z-index: 0; }
.meal_menu0004 .btn_more { overflow:hidden; position:absolute; top:1rem; right:1.5rem; width:1.7rem; height:1.7rem; line-height: 1.7rem; border-radius: 50%; background: #fff; color: #000; text-align: center; font-size: 1.1rem; }
.meal_menu0004 .btn_more i{-webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
/** 식단 : active **/
.meal_menu0004 .btn_more:hover i,
.meal_menu0004 .btn_more:focus i { transform: rotate(180deg); -webkit-transform: rotate(180deg); }

/* 게시판 */
.notice0004 { position:relative; height:100%; text-align: center; }
.notice0004::before{ position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; border-bottom: 2px dashed #ccc; content: ""; }
.notice0004 .titTab{ position: relative; display: inline-block; margin-top: -1.5rem; border-radius: 1rem; border: 2px solid #8bc41d; overflow: hidden; background: #fff; box-shadow: 3px 3px 10px rgba(140, 141, 143, 0.3); }
.notice0004 .titTab li{ float: left; max-width: 10rem; }
.notice0004 .titTab li a{ display:block; position:relative; color:#666; padding: 0.7rem 1.5rem; font-size: 1.2rem; }
.notice0004 .titTab li a span{ display:block; overflow:hidden; white-space:nowrap;}
.notice0004 .list_box { display:none; margin: 1rem -1rem; height: 18.7rem; overflow: hidden; padding: 1rem;}
.notice0004 .list_box ul { height:100%; }
.notice0004 .list_box ul li{ position: relative; width: 22.75%; float: left; border: 2px dashed #8bc41d; border-radius: 1rem; box-shadow: 3px 3px 7px rgba(140, 141, 143, 0.3); text-align: left; background: #fff; padding: 2.2rem 1.5rem 1.5rem; margin: 1rem 0; }
.notice0004 .list_box ul li.new::before{position: absolute; top: -0.9rem; left: 0.9rem; width: 1.8rem; height: 1.8rem; line-height: 1.8rem; font-size: 1rem; font-family: 'SCDream'; font-weight: 600; content: "N"; background: #e97a31; color: #fff; text-align: center; border-radius: 50%; }
.notice0004 .list_box ul li ~ li{margin-left: 3%; }
.notice0004 .list_box ul li:nth-child(even) { margin-top: 3.25rem; }
.notice0004 .list_box ul li a{ position: relative; display: block; }
.notice0004 .list_box ul li a::before{ position: absolute; bottom: -0.4rem; right: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; line-height: 1.6rem; text-align: center; background: #8bc41d; color: #fff; content: "\e913"; font-family: 'xeicon'; -webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
.notice0004 .list_box ul li a .tit{ position: relative; font-size: 1rem; font-weight: 600; color: #121402; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice0004 .list_box ul li a .tit span{ position: relative; z-index: 0;}
.notice0004 .list_box ul li a .tit span::before { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); width: 100%; height: 0.85rem; background: #ecf593; border-radius: 1rem; content: ""; z-index: -1; }
.notice0004 .list_box ul li a .txt{ position: relative; font-size: 0.8rem; color: #000; line-height:1.2rem; height:4.8rem; overflow: hidden; margin: 0.8rem 0 1.25rem; }
.notice0004 .list_box ul li a .date{ font-size: 0.8rem; color: #7a7a7a; }
.notice0004 .list_box ul li.no_data{ text-align:center; width: 100%; line-height:3rem; }
.notice0004 .btn_more { position:absolute; left:50%; bottom: -1rem; transform: translateX(-50%); -webkit-transform: translateX(-50%); font-size:0.85rem; line-height:1.5rem; color:#222; font-weight: 600; border: 2px solid #8bc41d; border-radius: 2rem; background: #fff; padding-right: 1rem; }
.notice0004 .btn_more i { display: inline-block; width: 2rem; height: 2rem; line-height: 2rem; border-radius: 50%; background: #8bc41d; text-align: center; color: #fff; margin-right: 0.5rem; font-size: 1.1rem; font-weight: 600; vertical-align: middle; }
.notice0004 .btn_more span{ vertical-align: middle; }
/* 게시판 : active */
.notice0004 .titTab li a:hover,
.notice0004 .titTab li a:focus,
.notice0004 .titTab li a.current { background: #8bc41d; color: #fff; border-radius: 0.8rem; font-weight: 600; box-shadow: 3px 3px 10px rgba(140, 141, 143, 0.3); }
.notice0004 .btn_more:hover,
.notice0004 .btn_more:focus{ color:#34b364; }
.notice0004 .list_box.on { display: block; }
.notice0004 .list_box li a:hover,
.notice0004 .list_box li a:focus { text-decoration: underline; }
.notice0004 .list_box li a:hover:before,
.notice0004 .list_box li a:focus:before { background-color:#34b364; transform: rotate(180deg); -webkit-transform: rotate(180deg); }
.notice0004 .titTab li a,
.notice0004 .list_box li a,
.notice0004 .btn_more i {-webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
.notice0004 .btn_more:hover i,
.notice0004 .btn_more:focus i { transform: rotate(180deg); -webkit-transform: rotate(180deg); }

/* 배너존 */
.banner_zone {line-height: 1; border-top: 1px solid #d1d8e4;}
.banner_zone .container {position: relative; height: 4rem; overflow: hidden;}
.banner_zone h2 {float:left; margin-top: 1.5rem; width: 4rem; font-size: 0.8rem; font-weight: 600; color: #191919;}
.banner_zone .btn {float: left; margin-top: 1.3rem; overflow: hidden; border-left:1px solid #ccc;}
.banner_zone .btn a {float: left; width: 1.4rem; height: 1.4rem; line-height:1.4rem; text-align:center; overflow: hidden; border:1px solid #ccc; border-left:0;}
.banner_zone .btn a.play{display:none;}
.banner_zone .bnWrap { width: calc(100% - 10rem); float:left; padding-top: 0.75rem; padding-left:1.5rem; overflow: hidden;}
.banner_zone .bnWrap a {display: block; height: 2.5rem; line-height: 2.3rem; text-align: center; margin:0 5px; border: 1px solid #c8d1db; overflow: hidden;}
.banner_zone .bnWrap a img {max-width: 100%; max-height: 100%; vertical-align: middle;}


@media (max-width:1240px){
    /* 메인비주얼 */
    .MVisual0004 .item img{ width:150%; height:auto; left:-25%; transform: none; -webkit-transform: none; -ms-transform: none; }
    .MVisual0004 .control{ left: 1rem; margin-left:0; }

    /* 갤러리 */
    .gallery0004 .list_box a .img{ float: left; width: 56%; height: 8.5rem; }
    .gallery0004 .list_box a .txt{ float: right; width: 40%; }

    /* 캘린더 */   
    .pop_schedule0004 .lst ul{ height: 11rem; }
    .pop_schedule0004 .lst li a{ line-height: 2.8; }
    .pop_schedule0004 .lst .no_data { padding-top: 5.4rem;}

    /* 식단 */
    .meal_menu0004{ padding: 1.5rem; }
    .meal_menu0004 .inner{ margin-top: 1.5rem; }
    .meal_menu0004 .inner ul{ height: 5.7rem; }
    .meal_menu0004 .inner .no_data { line-height: 5.7rem;}
    .meal_menu0004 .btn_more{ top: 1.5rem; right: 1.5rem; }
}

@media (max-width:1024px){
    /* 바로가기1 */
    .M_link0004 li{ display: block; float: left; width: 25%; }
    .M_link0004 li:nth-child(4n + 1)::before{ display: none; }
    .M_link0004 li a .txt{ margin-bottom: 0.8rem; }

    /* 게시판 */
    .notice0004 .titTab li a{ font-size: 1rem; padding: 0.7rem 1rem; }
}

@media (max-width:860px){
    /* 캘린더 */
    .pop_schedule0004 .lst { padding: 1rem; }
    .pop_schedule0004 .lst ul{ height: 9rem; }
    .pop_schedule0004 .lst .no_data { padding-top: 4rem;}

    /* 식단 */
    .meal_menu0004 h2{ padding-left: 5.8rem; }
    .meal_menu0004 .inner{ margin-top: 1rem; }
    .meal_menu0004 .inner ul{ height: 4.4rem; margin-left: 5.8rem; }
    .meal_menu0004 .inner .no_data { line-height: 4.4rem;}
    .meal_menu0004 > img{ width: 4.8rem; }

    /* 게시판 */
    .notice0004 .list_box ul li{ width: 31.3333%; padding: 1.8rem 1rem 1.3rem; }
    .notice0004 .list_box ul li:nth-child(4){ display: none; }

    /* 배너존 */
	.banner_zone h2{display:none;}
	.banner_zone .bnWrap{width:calc(100% - 6rem); padding-left:0.75rem;}
}

@media (max-width:680px){
    /* 바로가기1 */
    .M_link0004 li a .img img{ width: 4rem; }

    /* 게시판 */
    .notice0004 .titTab li{ width: 33.333%;}
    .notice0004 .titTab li a{ font-size: 0.95rem; padding: 0.5rem 0.8rem; }
    .notice0004 .list_box{ height: 12rem; }
    .notice0004 .list_box ul li{ width: 48.5%; margin: 0; }
    .notice0004 .list_box ul li:nth-child(3){ display: none; }
    .notice0004 .list_box ul li:nth-child(even){margin-top: 0; }
    .notice0004 .list_box ul li a .tit{ font-size: 0.95rem; }
    .notice0004 .list_box ul li a .txt{ height: 2.3rem; margin: 0.8rem 0 1rem; }    
    
    /* 팝업존 */
    .pop0004 .pop_img{height:auto;}
    .pop0004 .pop_img .item img { max-width:100%; height:auto; max-height:15rem;}

}

@media (max-width:540px){
    /* 바로가기1 */
    .M_link0004 li{ width: 33.3333%; }
    .M_link0004 li:nth-child(4n + 1)::before{ display: block; }
    .M_link0004 li:nth-child(3n + 1)::before{ display: none; }

    /* 갤러리 */
    .gallery0004{ padding: 1rem; }
    .gallery0004 .list_box a .img{ float: none; width: 100%; }
    .gallery0004 .list_box a .txt{ float: none; width: calc(100% - 4rem); }
    .gallery0004 .nss_pg{ bottom: 1rem; right: 1rem; }
    .gallery0004 .btn_more{ top: 1rem; right: 1rem; }
}

@media (max-width:480px){
    /* 바로가기 */
    .M_link0004 li a .img img { width: 3rem; }
    .M_link0004 li a .txt { margin-top: .6rem; }

    /* 식단 */
    .meal_menu0004 h2{ padding-left: 0; }
    .meal_menu0004 .inner ul{ margin-left: 0; }
    .meal_menu0004 > img{ display: none; }

    /* 게시판 */
    .notice0004 { padding-bottom: 1rem; }
    .notice0004 .titTab li { width: 100%; float: none; }
    .notice0004 .list_box { height: 22.5rem; }
    .notice0004 .list_box ul li{ width: 100%; }
    .notice0004 .list_box ul li ~ li{ margin-left: 0; margin-top: 1rem !important; }
}
