@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard-dynamic-subset.css");
@import url("https://cdn.jsdelivr.net/gh/leetaewook/gmarket-sans-dynamic-subset/GmarketSans.css");
@import url(fonts.css);

/*====== 공통 ======*/

html {
  font-size: 62.5%;
}

html * {
  word-break: keep-all;
}

body {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.0625rem;
}

img{max-width: 100%;}

:focus {
  outline-color: #fbaa1d;
}

.taenada {
  font-family: "Taenada", sans-serif !important;
}
.gmarket {
  font-family: "Gmarket Sans", sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Pretendard", sans-serif;
}

.inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/*====== main 공통 ======*/
.main-wrap{
  margin-top: 120px;
}
.main-sec {
  position: relative;
  font-size: 20px;
}

.main-wrap em {
  box-shadow: inset 0 -1.8rem 0 #fbaa1d;
  font-style: normal;
}
.round-bg {
  margin: 0 20px;
  overflow: hidden;
  background: #f7f7f7;
  border-radius: 6rem;
}
.title-box {
  position: relative;
}
.title-box h2 {
  font-size: 50px;
  font-weight: 900;
  color: #191919;
}
.title-box p {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
}

.more-btn {
  display: inline-block;
  padding: 2rem 3.2rem;
  border: 1px solid #d1d1d1;
  background: #fff;
  font-weight: 700;
  color: #333;
  transition: 0.2s;
  border-radius: 500px;
}
.more-btn span {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}
.more-btn span:after {
  content: url(../img/icon_arrow_right.svg);
}

/* .more-btn:hover span:after {
  transform: translateX(5px);
  transition: 0.2s;
} */

.more-btn.white {
  background-color: transparent;
  color: #fff;
}
.more-btn.white:hover {
  background-color: #fff;
  color: #333;
}

.img-box img {
  width: 100%;
}
/*====== main-visual ======*/
.main-visual {
  position: relative;
  height: 95vh;
  max-height: 800px;
}
.visual-slider {
  width: 100%;
  height: 100%;
}

.mv-slide {
  width: 100%;
  height: 100%;
}
.visual01 {
  background: url(../img/main_visual01.jpg) no-repeat center/cover;
}
.visual02 {
  background: url(../img/main_visual02.jpg) no-repeat center/cover;
}
.visual03 {
  background: url(../img/main_visual01.jpg) no-repeat center/cover;
}

.mv-box {
  position: absolute;
  top: 50%;
  left: 10vw;
  z-index: 9;
  transform: translateY(-50%);
}

.visual-text {
  margin-bottom: 4rem;
  font-size: 60px;
  font-weight: 900;
}
.visual-text span {
  font-weight: 300;
}
.slide-nav {
  display: flex;
  gap: 1.2rem;
}
.slide-nav button {
  border: 0;
  outline: 0;
  background-color: transparent;
  transition: 0.2s;
  cursor: pointer;
  opacity: 0.4;
}
.slide-nav button:focus,
.slide-nav button:hover {
  opacity: 0.8;
}

/*====== ms01 ======*/
.ms01 {
  padding: 15rem 0;
}
.ms01-link {
  display: flex;
  justify-content: space-between;
  text-align: center;
}
.ms01-link p {
  font-weight: 700;
  color: #555;
}
.ms01-link .link-icon {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 2.6rem;
  border: 2px solid #fbaa1d;
  transition: 0.2s;
  border-radius: 2rem;
}

.ms01-link a:hover .link-icon {
  box-shadow: 0 0 10px 0 rgba(251, 170, 29, 0.5);
}
.ms01-link a:hover .link-icon img {
  transition: 0.2s;
  transform: scale(1.1);
}
/*====== ms02 ======*/
.ms02 {
  padding: 15rem 0;
  background-color: #fff6e8;
}
.ms02 .title-box {
  display: flex;
  gap: 6.25rem;
  align-items: center;
  margin-bottom: 4.55rem;
  z-index: 9;
}
.ms02 .title-box .left {
  position: relative;
}
.ms02 .title-box .left::before {
  content: "";
  position: absolute;
  bottom: 50%;
  left: -30%;
  width: 12.6rem;
  z-index: -1;
  background: url(../img/ms02_obj01.svg) no-repeat center / 100%;
  aspect-ratio: 1/1;
}
.ms02 .title-box .right {
  position: relative;
  flex: 1;
}
.ms02 .title-box .right::before {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -10%;
  width: 27.6rem;
  height: 15.2rem;
  z-index: -1;
  background: url(../img/ms02_obj02.svg) no-repeat center / 100%;
}
.ms02 .title-box p {
  position: relative;
  margin-bottom: 2.4rem;
  font-size: 18px;
}
.ms02-image {
  display: flex;
  overflow: hidden;
  border-radius: 3rem;
}
.ms02-image img {
  width: 50%;
}
.right-btn:hover img {
  transition: 0.2s;
  transform: translateX(10px);
}

.ms02::after {
  content: "Yeongjin Nursery School";
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  width: 100%;
  font-family: "Taenada", sans-serif;
  font-size: 50px;
  font-size: 50px;
  color: #ffa200;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8rem;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0.1;
}
/*====== ms03 ======*/
.ms03 {
  padding: 15rem 0;
}
.ms03-box {
  padding: 15rem 0;
  background: url(../img/ms03_bg.jpg) no-repeat center/cover;
  color: #fff;
  text-align: center;
  border-radius: 3rem;
}
.ms03-box .title-box {
  margin-bottom: 11.4rem;
}
.ms03-box .title-box h2 {
  margin-bottom: 2rem;
  color: #fff;
}
.ms03-box .title-box p {
  color: #ebebeb;
}
/*====== ms04 ======*/
.ms04 {
  margin-bottom: 15rem;
  overflow: hidden;
}
.ms04 .inner {
  position: relative;
  /* gap: 13rem; */
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-left: calc((100% - 1240px) / 2);
}
.ms04 .title-box h2 {
  margin-bottom: 2rem;
}
.ms04 .title-box p {
  margin-bottom: 4rem;
}
.ms04 .left {
  width: 40rem;
}
.ms04 .right {
  position: relative;
  width: calc(100% - 40rem);
  padding: 0 0 6.8rem 8rem;
  z-index: 9;
}
.ms04 .right:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 8rem);
  height: 75%;
  z-index: -1;
  background-color: #fbaa1d;
  border-radius: 5rem;
}
.ms04-slider {
  position: relative;
  overflow: hidden;
}
.ms04-slide {
  position: relative;
  /* margin: 0 1rem; */
  overflow: hidden;
  border-radius: 3rem;
}
.ms04 .text-box {
  padding: 4rem;
  background-color: #fff;
  font-weight: 700;
}
.class-list {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  font-size: 18px;
}
.class-list span {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #f7f7f7;
  color: #555;
  border-radius: 0.8rem;
}
.class-list span.pink {
  background: rgba(240, 35, 124, 0.16);
  color: rgba(240, 35, 124, 1);
}
.class-list span.yellow {
  background: rgba(255, 136, 0, 0.16);
  color: rgba(255, 136, 0, 1);
}

.class-list span.blue {
  background: rgba(0, 149, 255, 0.16);
  color: rgba(0, 149, 255, 1);
}
.class-list span.purple {
  background: rgba(160, 96, 204, 0.16);
  color: rgba(160, 96, 204, 1);
}
.class-list span.mint {
  background: rgba(33, 206, 105, 0.16);
  color: rgba(33, 206, 105, 1);
}
.class-list span.red {
  background: rgba(255, 77, 71, 0.16);
  color: rgba(255, 77, 71, 1);
}
.class-list span.navy {
  background: rgba(35, 45, 240, 0.16);
  color: rgba(35, 45, 240, 1);
}
.class-list span.orange {
  background: rgba(255, 89, 0, 0.16);
  color: rgba(255, 89, 0, 1);
}
.class-list span.green {
  background: rgba(113, 192, 43, 0.16);
  color: rgba(113, 192, 43, 1);
}

/*====== ms05 ======*/
.ms05 {
  margin-bottom: 2rem;
  padding: 20rem 0;
  background: url(../img/ms05_bg.jpg) no-repeat center/cover;
}

.ms05 .title-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8rem;
}

.ms-notice ul {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}
.ms-notice ul li {
  width: 33.33%;
  border: 1px solid transparent;
  background: #fff;
  line-height: 1.6;
  transition: 0.2s;
}

.ms-notice ul li a {
  display: block;
  padding: 4rem;
}
.ms-notice li:hover {
  border: 1px solid #fbaa1d;
  box-shadow: 24px 20px 41px 0 rgba(0, 0, 0, 0.1);
}
.ms-notice .tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
}

.ms-notice .title {
  height: 80px;
  display: -webkit-box;
  margin: 4rem 0;
  overflow: hidden;
  font-size: 24px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.ms-notice .date {
  display: block;
  font-size: 18px;
  color: #888;
}

@media (max-width: 1280px) {
  html {
    font-size: 60%;
  }
  .round-bg {
    border-radius: 4rem;
  }
  .title-box h2 {
    font-size: 36px;
  }
  .main-sec {
    font-size: 16px;
  }
  .main-visual {
    height: 600px;
  }
  .visual-text {
    font-size: 40px;
  }
  .mv-box {
    left: 5vw;
  }
  .ms01 {
    padding: 8rem 0;
  }
  .ms01-link {
    justify-content: space-evenly;
  }
  .ms01-link .link-icon img {
    width: 4rem;
  }
  .ms02 {
    padding: 10rem 0;
  }
  .ms02 .title-box {
    gap: 4rem;
    flex-wrap: wrap;
  }

  .ms02 .title-box .left,
  .ms02 .title-box .right {
    width: 100%;
  }
  .ms02 .title-box br {
    display: none;
  }
  .ms02 .title-box .left::before {
    left: 0;
    width: 7rem;
  }

  .ms02 .title-box p {
    font-size: 16px;
  }
  .ms02 .title-box .right::before {
    right: 0;
    width: 19.6rem;
    height: 12.2rem;
  }
  .ms02::after {
    bottom: 2rem;
    font-size: 30px;
  }
  .ms03,
  .ms03-box {
    padding: 8rem 0;
  }
  .ms04 {
    margin-bottom: 8rem;
  }
  .ms04 .inner {
    padding: 0 0 0 20px;
  }
  .ms04 .right {
    padding: 0 0 4rem 4rem;
  }
  .ms04 .text-box {
    padding: 2rem;
  }
  .ms04 .right:after {
    border-radius: 3rem;
  }
  .class-list {
    font-size: 14px;
  }
  .ms05 {
    padding: 8rem 0;
  }
  .ms02 .inner,
  .ms05 .inner {
    padding: 0 6rem;
  }
  .ms05 .title-box {
    margin-bottom: 4rem;
  }
}

@media (max-width: 1024px) {
  .main-wrap{
    margin-top: 20px;
  }  
  .title-box br {
    display: none;
  }
  .ms04 .inner {
    gap: 4rem;
    flex-wrap: wrap;
    padding: 0 20px;
  }
  .ms04 .left,
  .ms04 .right {
    width: 100%;
  }
  .ms04 .right {
    padding: 0 0 8rem 0;
  }
  .ms04 .right:after {
    left: -4rem;
  }
  .ms-notice ul li {
    width: 50%;
  }
  .ms-notice ul li:last-child {
    display: none;
  }
}

@media (max-width: 768px) {
  .round-bg {
    border-radius: 2rem;
  }
  .inner {
    padding: 0 3%;
  }
  .main-visual {
    height: 480px;
    background-color: #000;
  }
  .main-visual .visual-slider .swiper-wrapper {
    opacity: 0.6;
  }
  .visual-text {
    color: #fff;
  }
  .mv-box {
    width: 100%;
  }
  .ms01,
  .ms02,
  .ms03,
  .ms03-box,
  .ms05 {
    padding: 6rem 0;
  }
  .ms01-link {
    gap: 3rem 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  .ms01-link li {
    width: 33.33%;
  }
  .ms01-link .link-icon {
    padding: 1.3rem;
  }
  .ms02 {
    padding-bottom: 8rem;
  }
  .ms02-image {
    border-radius: 1rem;
  }
  .ms02::after {
    font-size: 3.5vw;
    white-space: initial;
    /* bottom: 0.5rem; */
  }
  .ms03-box .title-box {
    margin-bottom: 6rem;
  }
  .ms04-slide {
    border-radius: 1rem;
  }

  .ms02 .inner,
  .ms05 .inner {
    padding: 0 2rem;
  }
  .ms05 .title-box {
    gap: 2rem;
    flex-direction: column;
  }
  .ms-notice ul {
    flex-wrap: wrap;
  }
  .ms-notice ul li {
    width: 100%;
  }
  .ms-notice .title {
    height: 65px;
    margin: 2rem 0;
    font-size: 20px;
  }
  .ms-notice .date {
    font-size: 14px;
  }
  .ms-notice ul li a {
    padding: 2rem;
  }
}


.ms06{padding: 100px 0;}
.ms06 .partner{display: flex;gap: 16px;justify-content: center;flex-wrap: wrap;}
.ms06 .partner > li{width: calc(20% - 12.8px);border: #CCCCCC solid 1px;border-radius: 20px;overflow: hidden;}

@media screen and (max-width:1024px) {
  .ms06{padding: 80px 0;}
  .ms06 .partner{gap: 12px;}
  .ms06 .partner > li{width: calc(33.333% - 8px);}
}
@media screen and (max-width:768px) {
  .ms06{padding: 60px 0;}
  .ms06 .partner{gap: 10px;}
  .ms06 .partner > li{width: calc(50% - 5px);border-radius: 10px;}
}