/***************************************
		copyright by MaxWeb.com.tw 
***************************************/
@import 'style.css';
:root {
    --swiper-navigation-size: 30px;
}

.declare .content,
.schedule .content,
.grading,
.introduction .content,
.news {
    max-width: 1280px;
    margin: 50px auto;
}

/*-------------------------------------------- 
	container
---------------------------------------------*/
#container {
    width: 100%;
}

/*-------------------------------------------- 
	content1
---------------------------------------------*/
.canvas_main_banner {
    position: relative;
    width: 100%;
    z-index: 3;
}
.canvas_main_banner .bannerSwiper-next,
.canvas_main_banner .bannerSwiper-prev {
    background: #d1d6dc;
    width: 50px;
    height: 60px;
    padding: 29px;
    color: #484b50;
}
.canvas_main_banner .bannerSwiper-next:hover,
.canvas_main_banner .bannerSwiper-prev:hover {
    opacity: 0.7;
}
.canvas_main_banner .swiper-slide img {
    display: block;
    width: 100%;
    max-height: 590px;
    object-fit: cover;
}
.canvas_main_banner .swiper-button-next {
    right: 0px;
}
.canvas_main_banner .swiper-button-prev {
    left: 0px;
}
.canvas_main_banner .banner_text {
    position: absolute;
    top: 0;
    width: 100%;
}
.canvas_main_banner .banner_text .button {
    color: #fff;
    background-color: #009fde;
    padding: 10px 30px;
    border-radius: 25px;
}
.canvas_main_banner .banner_text .banner_position_1 {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    /*grid-template-rows:91px calc(642.94px - 91px);*/
    width: 1280px;
    margin: 0px auto;
    align-items: center;
    background: none;
    padding: 0;
}
.canvas_main_banner .banner_text .banner_position_2 {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    /*grid-template-rows:91px calc(642.94px - 91px);*/
    width: 1280px;
    margin: 0px auto;
    align-items: center;
    background: none;
    padding: 0;
}
.canvas_main_banner .banner_text .position_1 {
    grid-column: 1/2;
    grid-row: 2/3;
}
.canvas_main_banner .banner_text .position_2 {
    grid-column: 2/3;
    grid-row: 2/3;
}

.greetings {
    background-image: url(../../../../../cufiles/images/home/greetings_bg.webp);
    background-size: contain;
    background-repeat: no-repeat;
}
.greetings .container {
    max-width: 1280px;
    padding: 50px 100px;
    margin: auto;
    color: #42210b;
}
.greetings .container .title {
    margin-bottom: 50px;
}
.greetings .container .title h1 {
    font-size: 6.5rem;
    font-weight: normal;
    font-family: sans-serif;
}
.greetings .container .title h1 span {
    font-size: 6.5rem;
    font-weight: bold;
    font-family: sans-serif;
    color: #b0d7ce;
}
.greetings .container .title h2 {
    font-size: 4.5rem;
    font-weight: lighter;
    font-family: sans-serif;
}
.greetings .container .title h2 span {
    font-size: 2.5rem;
}
.greetings .container .content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}
.greetings .container .content .subtitle h3 {
    font-weight: lighter;
}
.greetings .container .button {
    flex-shrink: 0;
}
.greetings .container .button a {
    display: inline-block;
    padding: 4px 26px;
    color: #fff;
    background-color: #b8d6ce;
    border: 1px solid #b8d6ce;
    border-radius: 20px;
    font-size: 1.4rem;
}
.greetings .container .button a:hover {
    color: #fff;
    background-color: #b8d6ce;
    border: 1px solid #b8d6ce;
}

.course .container {
    max-width: 1280px;
    padding: 50px;
    margin: auto;
    color: #42210b;
}
.course .container .title {
    margin: 50px;
    text-align: center;
}
.course .container .items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 80px;
}
.course .container .items .card {
    border: 1px solid #42210b;
}
.course .container .items .card .img img {
    width: 100%;
}
.course .container .items .card .content {
    padding: 20px;
}
.course .container .items .card .content .button {
    text-align: center;
}
.course .container .items .card .content .text {
    margin: 10px 0;
    line-height: 2.6rem;
}
.course .container .items .card .content .text p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.course .container > .button {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.course .container .button a {
    display: inline-block;
    padding: 4px 26px;
    margin-top: 20px;
    color: #42210b;
    border: 1px solid #42210b;
    border-radius: 20px;
    font-size: 1.4rem;
}
.course .container .button a:hover {
    color: #fff;
    background-color: #b8d6ce;
    border: 1px solid #b8d6ce;
}

.service .container {
    max-width: 1280px;
    padding: 50px;
    margin: auto;
    color: #42210b;
}
.service .container .title {
    margin-bottom: 50px;
    text-align: center;
}
.service .container .items {
    display: flex;
    justify-content: center;
    gap: 80px;
}
.service .container .items .card {
    border: 1px solid #42210b;
    border-radius: 50%;
    text-align: center;
    flex: 1;
    /* aspect-ratio: 1; */
}
.service .container .items .card a {
    display: block;
    aspect-ratio: 1;
    color: #42210b;
    height: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service .container .items .card:hover {
    background-color: #b8d6ce;
    border: 1px solid #b8d6ce;
}
.service .container .items .card:hover a {
    color: #fff;
}

.service .container .items .card:hover .icon svg {
    stroke: #fff;
}
.service .container .items .content .icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-bottom: 1px solid #42210b;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.service .container .items .card:hover .icon {
    color: #fff;
    border-bottom: 2px solid #fff;
}
.service .container .items .card .icon .icon_plan,
.icon_workshop,
.icon_education {
    stroke: #917b63;
    stroke-width: 3px;
    width: 100%;
    height: 100%;
}
.service .container .items .card .icon .icon_plan {
    stroke: #917b63;
    stroke-width: 3px;
    width: 60%;
}
.service .container .items .content .icon img {
    max-width: 50px;
}

/*-------------------------------------------------
	waypoints
--------------------------------------------------*/

.news .list {
    margin-top: -100px;
    opacity: 0;
}

.introduction .img {
    margin-left: -100px;
    opacity: 0;
}
/*.introduction .text{
  margin-right: -550px;
  opacity: 0;	
}*/

.monthly {
    margin-top: -100px;
    opacity: 0;
}

/*-------------------------------------------- 
	Media Queries 
---------------------------------------------*/
/* Portrait and Landscape */
/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
}*/

/*iPad Pro*/
@media screen and (max-width: 1279px) {
    .course .container .items {
        gap: 30px;
    }

    .service .container .items {
        gap: 30px;
    }
}

/*iPad*/
@media screen and (max-width: 1023px) {
    .greetings .container {
        padding: 25px;
    }

    .course .container {
        padding: 25px;
    }

    .service .container {
        padding: 25px;
    }

    .service .container .items .card {
        padding: 30px;
    }
}

/*iPhone*/
@media screen and (max-width: 767px) {
    .greetings .container {
        padding: 10px;
    }
    .greetings .container .title {
        margin-bottom: 25px;
        line-height: 10rem;
    }
    .greetings .container .title h1 {
		font-size: 3rem;
		line-height: 5rem;
		font-weight: bold;
    }

    .greetings .container .title h2 {
        font-size: 2rem;
        line-height: 5rem;
    }
    .greetings .container .content {
        flex-direction: column;
    }

    .course .container {
        padding: 50px;
    }
    .course .container .title {
        margin: 25px;
    }

    .course .container .items {
        flex-direction: column;
    }
    .course .container .title h1 {
        font-size: 3rem;
    }

    .service .container {
        padding: 50px;
    }
    .service .container .items {
        flex-direction: column;
    }
    .service .container .title h1 {
        font-size: 3rem;
    }

    .greetings {
        background-image: url(../../../../../cufiles/images/home/greetings_bg_rwd.webp);
    }
    .greetings .container .content .subtitle h3 {
        font-size: 1.4rem;
    }
    .greetings .container .title h1 span {
        font-size: 4rem;
    }
    .greetings .container .title h2 span {
        font-size: 1.2rem;
        display: block;
        line-height: normal;
    }
}
