/* Visual */
.visual-wrap{position: relative;}

.visual{
    overflow: hidden; height: 100vh; background: #000;
}
.visual .swiper-container{
    height: 100%;
    -webkit-transition: all ease-in-out .6s; transition: all ease-in-out .6s;
    opacity: 0;
}
.visual .swiper-wrapper { height: 100%; }
.visual .swiper-slide { overflow: hidden; height: 100%; }
.visual .prev,
.visual .next{
    z-index: 2; position: absolute; top: 0; bottom: 0; margin: auto; cursor: pointer !important;
    -webkit-transition: all .35s ease-out .6s; transition: all .35s ease-out .6s;
    opacity: 0;
}
.visual .prev{
    left: 150px; width: 37px; height: 71px; background: url('/child/img/visual/prev.png') no-repeat center;
    -webkit-transform: translateX(-50px); transform: translateX(-50px);
}
.visual .next{
    right: 150px; width: 37px; height: 71px; background: url('/child/img/visual/next.png') no-repeat center;
    -webkit-transform: translateX(50px); transform: translateX(50px);
}
.visual .slide-pagination{
    height: 15px;
    -webkit-transition: all .35s ease-out .6s; transition: all .35s ease-out .6s;
    -webkit-transform: translateY(50px); transform: translateY(50px);
    opacity: 0;
}
.visual .slide-pagination.swiper-pagination-bullets { z-index: 2; position: absolute; bottom: 30px; width: 100%; text-align: center; font-size: 0; }
.visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 5px; width: 14px; height: 100%; background: #ffffff; border-radius: 14px;
    -webkit-transition: all ease .2s; transition: all ease .2s;
}
.visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active { width: 45px; }
.visual .background{
    height: 100vh;
    -webkit-transition: all linear 10s; transition: all linear 10s;
    -webkit-transform: scale(1); transform: scale(1);
}
.swiper-slide-active .background{-webkit-transform: scale(1.15); transform: scale(1.15);}

.visual .background--1 { background: url('/child/img/visual/v1.png') no-repeat center / cover; }
.visual .background--2 { background: url('/child/img/visual/v2.png') no-repeat center / cover; }
.visual .background--3 { background: url('/child/img/visual/v3.png') no-repeat center / cover; }

.visual-txt{z-index: 30; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; font-size: 48px; line-height: 62px; white-space: nowrap;}

.scr{width: 1px; height: 120px; background-color: rgba(255, 255, 255, 0.5);
  position: absolute; bottom: 0; left: 50%; transform: translate(-50%, 0); z-index: 10;
}
.scr span{display: block; position: absolute; width: 3px; height: 48px; background-color: #fff; bottom: 72px;
  left: 50%; transform: translate(-50%, 0); animation: move 2s linear infinite;
}

@keyframes move {
  0%{bottom: 72px;}
  100%{bottom: 0px}
}

.visual .swiper-container-initialized { opacity: 1; }
/* .visual .swiper-container-initialized .background { -webkit-transform: none; transform: none; } */
.visual .swiper-container-initialized .prev,
.visual .swiper-container-initialized .next,
.visual .swiper-container-initialized .slide-pagination{
    -webkit-transform: none; transform: none;
    opacity: 1;
}
@media(max-width:1200px){
    .visual, .visual .background { height: 680px; }
    .visual .prev,
    .visual .next { display: none; }
    .visual-txt{font-size: 30px; line-height: 42px}
    .scr{height: 70px;}
    .scr span{height: 30px; bottom: 40px; animation: move2 2s linear infinite;}
}

@keyframes move2 {
  0%{bottom: 40px;}
  100%{bottom: 0px}
}

@media(max-width:768px){
    .scr{display: none}
    .visual .slide-pagination { height: 10px; }
    .visual .slide-pagination.swiper-pagination-bullets { bottom: 20px; }
    .visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet { margin: 0 3px; width: 10px; }
    .visual .slide-pagination.swiper-pagination-bullets .swiper-pagination-bullet-active { width: 30px; }
    .visual, .visual .background { height: 340px; }
    .visual-txt{font-size: 20px; line-height: 36px}
}
@media(max-width:500px){
    .visual { height: 240px; }
}

section{padding: 140px 0}

.section1{background-image: url(/child/img/main/s1-bg.png); background-repeat: no-repeat;
  background-size: cover; background-position: center;}
.title{margin: auto; text-align: center; margin-bottom: 70px}
.title h3{font-size: 42px; line-height: 1; margin-bottom: 48px; position: relative;}
.title h3::after{content: ""; display: block; position: absolute; width: 50px; height: 2px;
bottom: -24px; left: 50%; transform: translate(-50%, 0); background-color: #c5965e}
.title p{font-size: 24px}

.section1-item{overflow: hidden;}
.section1-item:nth-child(2){margin-top: 70px;}
.section1-item-top{background-color: #fff; border-top: 2px solid #333;
  padding: 50px 10px; display: flex;flex-direction: column; justify-content: center;
  align-items: center;
  transition: ease-in-out .35s; -webkit-transition: ease-in-out .35s;}
.plus{width: 30px; height: 30px; position: relative; margin-bottom: 25px;}
.plus::after{content: ""; display: block; position: absolute; top: 50%; left: 0;
  transform: translate(0, -50%); width: 100%; height: 1px; background-color: #333}
.plus::before{content: ""; display: block; position: absolute; top: 0; left: 50%;
  transform: translate(-50%, 0); width: 1px; height: 100%; background-color: #333}
.section1-item-top p{line-height: 1; font-size: 22px;}

.section1-item-bottom{width: 100%; height: 384px; overflow: hidden; position: relative;}
.section1-item-bottom .section1-img{width: 100%; height: 100%; object-fit: cover; transform: scale(1);
  transition: ease-in-out .35s; -webkit-transition: ease-in-out .35s;}
.section1-item-hover{position: absolute; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; justify-content: center; top: 0; left: 0;
  font-size: 18px; padding: 5px; opacity: 0; visibility: hidden;
  transition: ease-in-out .35s; -webkit-transition: ease-in-out .35s;}

@media(min-width:1201px){
  .section1-item:hover .section1-item-top{border-top: 2px solid #c5965e}
  .section1-item:hover .section1-img{transform: scale(1.2);}
  .section1-item:hover .section1-item-hover{opacity: 1; visibility: visible;}
}

.section2-item-wrap{align-items: stretch;}

.section2-title-wrap{display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding: 0 10px}
.section2-title{display: flex; align-items: center;}
.section2-title img{display: block; width: 32px; height: 24px; object-fit: cover;
  margin-right: 10px; }
.section2-title h5{font-size: 26px; line-height: 1}
.more-btn{display: flex; align-items: center;}
.more-btn p{color: #777; font-size: 14px; margin-right: 7px; line-height: 1}

.board-list-wrap{border-top: 1px solid #e5e5e5; cursor: pointer;}
.board-list-wrap:last-child{border-bottom: 1px solid #e5e5e5}

.board-text-wrap{padding: 13px 10px; display: flex; justify-content: space-between;}
.board-left{width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.board-tit{font-size: 18px;}
.board-date{color: #777; font-size: 18px;}

.table_basic th .sub{display: none !important;}

.calendar-wrap{position: relative;}
.calendar-wrap::after{content: ""; display: block; width: calc(100% - 24px); height: 1px; position: absolute;
  background-color: #e5e5e5; bottom: 12px; left: 12px}
.calendar-template{display: flex; padding: 10px; border-top: 1px solid #e5e5e5;}
.calendar-head{width: 245px; height: 245px; margin-right: 25px;
  background-image: url(/child/img/main/calendar-bg.png); background-size: cover;
  background-repeat: no-repeat; display: flex; align-items: center; justify-content: center;}
.calendar-template .calendar_basic{width: calc(100% - 270px) !important; border: 0 !important; position: relative;}
.table_basic td{padding: 7px 0 !important; text-align: center !important; border: 0 !important;}
.cday{font-size: 12px !important; color: #777 !important; font-weight: 400 !important;}
.table_basic td .color-red{color:#ff0000 !important;}
.table_basic td .color-blue{color:#235cb8 !important;}
.table_basic th{text-align: center !important; font-size: 12px; padding: 15px 0 !important;
  background-color: transparent !important; border-right: 0 !important;}
.table_basic th b{font-weight: 400; line-height: 1;}
.calendar-subject{display: none}

.calender-link{position: absolute; width: 100%; height: 100%; display: block; top: 0;
  left: 0;}

.text-on{position: relative; color: #fff !important;}
.text-on::before{content: ""; position: absolute; display: block; width: 22px; height: 22px;
  background-color: #c5965e; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: -1}

.month-btn{display: flex; align-items: center;}
.prev-month{padding: 0; min-height: unset; width: 8px; height: 13px;
   background-image: url(/child/img/main/prev-month.png); background-repeat: no-repeat;
   background-size: cover;}
.next-month{padding: 0; min-height: unset; width: 8px; height: 13px;
   background-image: url(/child/img/main/next-month.png); background-repeat: no-repeat;
   background-size: cover;}
.current-date{font-size: 22px; color: #fff; font-weight: 500; margin: 0 15px;}

.section3{background-color: #f5f5f5}
.video-wrap{position: relative; width: 100%; height: 0; padding-bottom: 56.25%;}
.video-wrap iframe{position: absolute; top: 0; left: 0;}

@media(max-width:1024px){
    section{padding: 100px 0}

    .title{margin-bottom: 40px}
    .title h3{font-size: 28px; margin-bottom: 20px;}
    .title h3::after{bottom: -13px; width: 30px; height: 1px}
    .title p{font-size: 18px}
    .section1-item-bottom{height: auto;}
    .section1-item:nth-child(2){margin-top: 0}
    .section1-item-top{padding: 30px 10px;}
    .plus{width: 20px; height: 20px; margin-bottom: 15px}
    .section1-item-top p{font-size: 16px}


    .notice-wrap{margin-bottom: 20px}
    .section2-title img{width: 26px; height: auto; margin-right: 5px}
    .section2-title h5{font-size: 18px;}
    .board-tit, .board-date{font-size: 14px}
    .current-date{font-size: 18px}
}
@media(max-width:768px){
    section{padding: 70px 0}

    .title{margin-bottom: 30px}
    .title h3{font-size: 24px; margin-bottom: 15px;}
    .title h3::after{bottom: -8px; width: 26px;}
    .title p{font-size: 16px}

    .calendar-template{display: block;}
    .calendar-head{width: 100%; height: 50px; background-image: none}
    .current-date{color: #333}
    .next-month{background-image: url(/child/img/main/next-month-mo.png);}
    .prev-month{background-image: url(/child/img/main/prev-month-mo.png);}
    .calendar-template .calendar_basic{width: 100% !important;}
}

.family-list {
    display: flex;
    flex-wrap: wrap;
    margin: -12px;
    width: calc(100% + 24px);
}
.family-list > li {
    flex-basis: 50%;
    padding: 12px;
}
.family-list > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    height: 68px;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #ECECEC;
}
.family-list > li > a > img {
    margin-right: 8px;
}
.family-list > li > a > .v-icon {
    font-size: 20px;
    margin-left: 8px;
    margin-top: 2px;
}
@media(max-width:1024px) {
    .family-list__name {
        display: none;
    }
}
@media(max-width:768px){
    .family-list {
        margin: -8px;
        width: calc(100% + 16px);
    }
    .family-list > li {
        flex-basis: 100%;
        padding: 8px;
    }
    .family-list > li > a {
        height: 50px;
    }
}
