@charset "UTF-8";
/* PC 1280px~ */
/* 태블릿 ~1279px*/
@media screen and (max-width: 1279px) {
  #ck-header .ck-logo {
    width: 300px;
    height: 150px;
    margin-left: 5vw;
  }
  #ck-header .ham-wrap {
    top: 60px;
    margin-right: 4.6vw;
  }
  #ck-header .ham-wrap .ham {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    z-index: 1;
  }
  #ck-header .ham-wrap .ham span {
    position: absolute;
    display: block;
    right: 0px;
    font-size: 0;
    background-color: #fff;
    transition: 300ms;
    overflow: hidden;
  }
  #ck-header .ham-wrap .ham span.active {
    background-color: #fff;
    width: 40px;
  }
  #ck-header .ham-wrap .ham .ham-line1 {
    top: 0;
    width: 40px;
    height: 3px;
  }
  #ck-header .ham-wrap .ham .ham-line1.active {
    top: 20px;
    transform: rotate(135deg);
  }
  #ck-header .ham-wrap .ham .ham-line2 {
    top: 20px;
    width: 22px;
    height: 3px;
  }
  #ck-header .ham-wrap .ham .ham-line2.active {
    transform: rotate(-135deg);
  }
  #ck-header .ham-wrap .ham:hover .ham-line1 {
    width: 20px;
  }
  #ck-header .ham-wrap .ham:hover .ham-line1.active {
    width: 40px;
  }
  #ck-header .ham-wrap .ham:hover .ham-line2 {
    width: 40px;
  }
  #ck-header .ham-wrap .circle-wrap {
    position: absolute;
    right: -120px;
    top: -120px;
    width: 240px;
    height: 240px;
  }
  #ck-header #ck-gnb .gnb-wrap {
    position: absolute;
    left: 13vw;
    top: 200px;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 {
    padding: 30px 0;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a {
    display: inline-block;
    position: relative;
    width: 300px;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    transition: 300ms;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 14px;
    width: 20px;
    height: 6px;
    background-color: #fff;
    transition: 300ms;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a:hover {
    transform: translateX(32px);
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a.active::before {
    background-color: #222;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 .depth2 {
    display: none;
    position: absolute;
    left: 32vw;
    top: 0;
    width: 400px;
    padding-top: 20px;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 .depth2 li {
    padding: 14px 14px 14px 0;
    overflow: hidden;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 .depth2 li > a {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 300;
  }
  #ck-main .main-fs-container {
    min-width: 700px;
    margin: 4vw 0;
    transition: 300ms;
  }
  #ck-main .main-fs-container .main-fs-wrap {
    width: 100%;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs {
    display: flex;
    justify-content: center;
    gap: 8vw;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap {
    position: relative;
    width: 200px;
    height: 280px;
    margin: 120px 0;
    background-position: center center;
    background-size: cover;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap p {
    position: absolute;
    left: 50%;
    top: -24px;
    font-size: 4em;
    font-weight: 300;
    transform: translateX(-50%);
    z-index: 1;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap p.active {
    top: -18px;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item {
    position: absolute;
    left: -12%;
    top: -8%;
    display: block;
    width: 240px;
    height: 320px;
    margin: 0 auto;
    background-color: transparent;
    transition: 300ms;
    z-index: -1;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item1.active {
    background-color: #363641;
    transform: rotate(15deg);
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item2.active {
    background-color: #450a0a;
    transform: rotate(-15deg);
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item3.active {
    background-color: #f94b5a;
    transform: rotate(15deg);
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap1 {
    background-image: url("../images/main/main_family_site/main_family_01.jpg");
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap2 {
    background-image: url("../images/main/main_family_site/main_family_02.jpg");
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap3 {
    background-image: url("../images/main/main_family_site/main_family_03.jpg");
  }
  #ck-footer {
    height: 400px;
  }
  #ck-footer .ft-info-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-direction: column;
  }
  #ck-footer .ft-info-container .ft-info1-wrap {
    display: flex;
    justify-content: center;
    gap: 6vw;
    min-width: 700px;
  }
  #ck-footer .ft-info-container .ft-info1-wrap div h3 {
    padding: 42px 0 24px 0;
    font-size: 2.8rem;
    font-weight: 500;
  }
  #ck-footer .ft-info-container .ft-info1-wrap div ul li a {
    padding-bottom: 1.6rem;
    font-size: 2.2rem;
  }
  #ck-footer .ft-info-container .ft-info1-wrap .ft-sns-brand .ft-sns ul {
    column-gap: 8px;
    row-gap: 8px;
  }
  #ck-footer .ft-info-container .ft-info1-wrap .ft-sns-brand .ft-sns ul li a {
    display: block;
    font-size: 2.2rem;
  }
  #ck-footer .ft-info-container .ft-info2-wrap {
    padding-bottom: 20px;
    margin: 0 auto;
    color: rgb(255, 248, 227);
    font-size: 2.2rem;
    font-weight: 300;
  }
}
/* 태블릿 only 768px~1279px */
/* 모바일~767px */
@media screen and (max-width: 767px) {
  #ck-header .ck-logo {
    width: 200px;
    height: 100px;
    margin-left: 6vw;
  }
  #ck-header .ham-wrap {
    top: 40px;
    margin-right: 4.2vw;
  }
  #ck-header .ham-wrap .ham {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    z-index: 1;
  }
  #ck-header .ham-wrap .ham span {
    position: absolute;
    display: block;
    right: 0px;
    font-size: 0;
    background-color: #fff;
    transition: 300ms;
    overflow: hidden;
  }
  #ck-header .ham-wrap .ham span.active {
    background-color: #fff;
    width: 28px;
  }
  #ck-header .ham-wrap .ham .ham-line1 {
    top: 0;
    width: 28px;
    height: 2px;
  }
  #ck-header .ham-wrap .ham .ham-line1.active {
    top: 12px;
    transform: rotate(135deg);
  }
  #ck-header .ham-wrap .ham .ham-line2 {
    top: 12px;
    width: 18px;
    height: 2px;
  }
  #ck-header .ham-wrap .ham .ham-line2.active {
    transform: rotate(-135deg);
  }
  #ck-header .ham-wrap .ham:hover .ham-line1 {
    width: 18px;
  }
  #ck-header .ham-wrap .ham:hover .ham-line1.active {
    width: 28px;
  }
  #ck-header .ham-wrap .ham:hover .ham-line2 {
    width: 28px;
  }
  #ck-header .ham-wrap .circle-wrap {
    position: absolute;
    right: -90px;
    top: -90px;
    width: 160px;
    height: 160px;
    overflow: hidden;
  }
  #ck-header #ck-gnb .gnb-wrap {
    position: absolute;
    left: 13vw;
    top: 160px;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 {
    padding: 30px 0;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a {
    display: inline-block;
    position: relative;
    width: 300px;
    color: #fff;
    font-size: 3.2rem;
    font-weight: 700;
    transition: 300ms;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 14px;
    width: 20px;
    height: 6px;
    background-color: #fff;
    transition: 300ms;
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a:hover {
    transform: translateX(32px);
  }
  #ck-header #ck-gnb .gnb-wrap .depth1 > a.active::before {
    background-color: #222;
  }
  #ck-main .main-fs-container {
    min-width: 360px;
    margin: 8vw 0;
    transition: 300ms;
  }
  #ck-main .main-fs-container .main-fs-wrap {
    margin: 60px 0;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs {
    display: flex;
    justify-content: center;
    gap: 6vw;
    flex-direction: column;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap {
    position: relative;
    width: 200px;
    height: 280px;
    margin: 20px auto;
    background-position: center center;
    background-size: cover;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap p {
    position: absolute;
    left: 50%;
    top: -24px;
    font-size: 4em;
    font-weight: 300;
    transform: translateX(-50%);
    z-index: 1;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap p.active {
    top: -18px;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item {
    position: absolute;
    left: -12%;
    top: -8%;
    display: block;
    width: 240px;
    height: 320px;
    margin: 0 auto;
    background-color: transparent;
    transition: 300ms;
    z-index: -1;
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item1.active {
    background-color: #363641;
    transform: rotate(15deg);
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item2.active {
    background-color: #450a0a;
    transform: rotate(-15deg);
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap .fs-item3.active {
    background-color: #f94b5a;
    transform: rotate(15deg);
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap1 {
    background-image: url("../images/main/main_family_site/main_family_01.jpg");
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap2 {
    background-image: url("../images/main/main_family_site/main_family_02.jpg");
  }
  #ck-main .main-fs-container .main-fs-wrap .main-fs .fs-item-wrap3 {
    background-image: url("../images/main/main_family_site/main_family_03.jpg");
  }
  #ck-footer {
    height: auto;
  }
  #ck-footer .ft-info-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
  }
  #ck-footer .ft-info-container .ft-info1-wrap {
    display: flex;
    justify-content: space-between;
    gap: 6vw;
    margin: 0 6vw;
    min-width: 360px;
    flex-wrap: wrap;
  }
  #ck-footer .ft-info-container .ft-info1-wrap div h3 {
    padding: 28px 0 16px 0;
    font-size: 2.4rem;
    font-weight: 500;
  }
  #ck-footer .ft-info-container .ft-info1-wrap div ul li a {
    padding-bottom: 1.8rem;
    font-size: 1.8rem;
  }
  #ck-footer .ft-info-container .ft-info1-wrap .ft-sns-brand .ft-sns ul {
    column-gap: 8px;
    row-gap: 8px;
  }
  #ck-footer .ft-info-container .ft-info1-wrap .ft-sns-brand .ft-sns ul li a {
    display: block;
    font-size: 2.4rem;
  }
  #ck-footer .ft-info-container .ft-info2-wrap {
    padding-bottom: 40px;
    margin: 0 auto;
    color: rgb(255, 248, 227);
    font-size: 1.6rem;
    font-weight: 300;
  }
}