/*main css*/

p {
    letter-spacing: -1.5px;
}
#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    width: 100%;
    margin: 0 auto;
}
#main .center {
    width: 1520px;
    min-width: 1520px;
}
.menu-container{
    display: flex;
    gap: 40px;
}
.main-swiper {
    width: 800px;
    min-width: 800px;
    height: 480px;
    background: #eee;
    border-radius: 30px;
    overflow: hidden;
}
.main-swiper .banner{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.main-swiper .banner img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.main-swiper .swiper-pagination-bullet {
    border-radius: 100px;
    width: 18px;
    height: 18px;
    background: var(--white-color);
    opacity: 1;
    transition: 0.5s;
}
.main-swiper .swiper-pagination-bullet-active {
    width: 50px;
    background: var(--yellow-color) ;
}

.link-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.link-wrap {
    width: 330px;
    padding: 30px;
    position: relative;
    border-radius: 20px;
    background: #f5f5f5 ;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}
.link-wrap:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    background: var(--yellow-color);
}
.link-wrap:hover .quick-link {
    background: #222;
    color: var(--white-color);
}
.link-wrap:hover .arrow {
    background: url("../../img/icon/icon-arrow-next-white.svg")no-repeat center/contain;
}
.link-wrap .title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
}
.link-wrap .content {
    line-height: 24px;
}
.link-wrap .quick-link {
    display: flex;
    padding: 7px 30px;
    border: 1px solid #222;
    border-radius: 50px;
    line-height: 24px;
    max-width: 130px;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -1.5px;
    transition: 0.3s;
}
.link-wrap .arrow {
    background: url("../../img/icon/icon-arrow-next-black.svg")no-repeat center / contain;
    width: 10px;
    height: 10px;
    display: inline-block;
}
.link-wrap img {
    position: absolute;
    right: 30px;
    bottom: 30px;
}
.main-title{
    font-size: 36px;
    font-weight: 900;
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.link-more {
    border: 1px solid #222;
    border-radius: 50px;
    padding: 7px 30px;
    line-height: 24px;
}
.link-more .arrow {
    background: url("../../img/icon/icon-plus.svg")no-repeat center/contain;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin-left: 5px;
}
.data-container .inner {
    display: flex;
    justify-content: space-between;
}
.data-container .inner > div {
    width: 220px;
}
.data-container .inner div > p {
    font-size: 18px;
    line-height: 30px;
    color: var(--dark-grey);
}
.data-content {
    display: flex;
    gap: 20px;
}
.data-content li {
    width: 280px;
}
.data-content .img{
    background: url("../../../resources/img/bg/bg-nosmoke-thumbnail.png");
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
}
.data-content .subject {
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    margin-top: 20px;
}
.data-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.data-list li{
    display: flex;
    align-items: center;
    gap: 20px;
}
.data-list li:hover {
    cursor: pointer;
}
.data-list li span {
    font-size: 18px;
    color: #888;
    display: flex;
    align-items: center;
}
.data-list li.now span, .data-list li:hover span{
    color: #222;
}
.data-list li.now span::after {
    content: "";
    display: inline-block;
    border-radius: 50px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    margin-left: 10px;
}
.data-list button {
    background: url("../../img/icon/icon-parent.svg")no-repeat center /contain;
    width: 60px;
    height: 60px;
}
.data-list li:nth-child(2) button{background: url("../../img/icon/icon-child.svg")no-repeat center/contain}
.data-list li:nth-child(3) button{background: url("../../img/icon/icon-teacher.svg")no-repeat center/contain}
.data-list li:nth-child(4) button{background: url("../../img/icon/icon-data.svg")no-repeat center/contain}

.data-list li:nth-child(1).now button{background: url("../../img/icon/icon-parent-color.svg")no-repeat center/contain}
.data-list li:nth-child(2).now button{background: url("../../img/icon/icon-child-color.svg")no-repeat center/contain}
.data-list li:nth-child(3).now button{background: url("../../img/icon/icon-teacher-color.svg")no-repeat center/contain}
.data-list li:nth-child(4).now button{background: url("../../img/icon/icon-data-color.svg")no-repeat center/contain}

.data-list li:nth-child(1):hover button{background: url("../../img/icon/icon-parent-color.svg")no-repeat center/contain}
.data-list li:nth-child(2):hover button{background: url("../../img/icon/icon-child-color.svg")no-repeat center/contain}
.data-list li:nth-child(3):hover button{background: url("../../img/icon/icon-teacher-color.svg")no-repeat center/contain}
.data-list li:nth-child(4):hover button{background: url("../../img/icon/icon-data-color.svg")no-repeat center/contain}

.data-content li .img{
    position: relative;
}
.data-content li:hover .img::before {
    content:"";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--yellow-color);
    opacity: 0.8;
}
.data-content li:hover .img::after {
    content: "";
    background: url("../../img/icon/icon-search-black.svg")no-repeat center /contain;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.notice-container{
    display: flex;
    align-items: end;
    gap: 40px;
    position: relative;
    padding: 80px 0;
    width: 100%;
    justify-content: center;
}
.notice-container .inner {
    width: 1080px;
}
.notice-list {
    padding: 30px 50px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    border-radius: 30px;
    background: var(--white-color);
}
.notice-list li a{
    display: flex;
    justify-content: space-between;
    line-height: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.notice-list li p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    line-height: 24px;
    color: #666;
    transition: 0.2s;
}
.notice-list li a:hover p{
    color: #222;
    text-decoration: underline;
}
.notice-list li span {
    font-size: 18px;
    color: #888;
}
.notice-list li p::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background: var(--primary);
}
.notice-list li:last-child a{
    border-bottom: none;
}

.notice-container .color-bg {
    width: 100%;
    height: 390px;
    background: var(--background);
    position: absolute;
    top: 0;
    z-index: -1;
}

.faq-wrap {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 380px;
    width: 400px;
    padding: 40px;
    z-index: 1;
}
.faq-wrap .title {
    font-size: 24px;
    font-weight: 900;
    line-height: 36px;
    color: var(--white-color);
}
.faq-wrap .title::before {
    background: url("../../img/icon/icon-question.svg")no-repeat center/contain;
    display: inline-block;
    width: 24px;
    height: 24px;
}
.faq-wrap p {
    color: var(--white-color);
    font-size: 18px;
    line-height: 30px;
}
.faq-wrap .color-bg {
    background: var(--main-width);
    width: 400px;
    height: 225px;
    top: 0;
    left: 0;
    z-index: -1;
}
.faq-wrap a {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    width: 40px;
    height: 40px;
}
.bg-faq {
    background: url("../../img/bg/bg-faq.png")no-repeat 0 0 /contain;
    position: absolute;
    z-index: 2;
    width: 218px;
    height: 212px;
    bottom: 0;
    right: 30px;
}

/*site-map*/

.site-map-container {
    padding: 80px 0;
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.nav-container {
    display: flex;
    gap: 20px;
}
.nav-wrap {
    text-align: center;
}
.nav-wrap > a{
    display: block;
    padding-bottom: 30px;
    width: 225px;
    border-bottom: 2px solid var(--primary);
    font-size: 24px;
    font-weight: 700;
}
.nav-wrap .inner {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.nav-wrap .inner a {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 10px;
    border: 1px solid #ccc;
    color: var(--dark-grey);
    transition: 0.3s;
}
.nav-wrap .inner a:hover {
    background: #222;
    color: #fff;
    border: none;
}
.nav-wrap.row .inner {
    flex-direction: row;
    flex-wrap: wrap;
}
.nav-wrap.row .inner a {
    min-width:224px
}