/******************** Home-Main ********************/
/*** --------------- main-top_slide --------------- ***/
.bg_area{
    position: relative;
}

.bg_area::before {
    content: "";
    background: url(../img/side_bg01.png) left bottom / contain no-repeat;
    position: absolute;
    width: 150px;
    height: 2340px;
    aspect-ratio: 15 / 242;
    right: 0;
    top: 350px;
    z-index: -1;
}

.bg_area::after {
    content: "";
    background: url(../img/side_bg02.png) right bottom /contain no-repeat;
    position: absolute;
    width: 180px;
    height: 2420px;
    aspect-ratio: 9 / 121;
    left: 0;
    top: 280px;
    z-index: -1;
}

.home .top_slide {
    position: relative;
}

@media only screen and (max-width: 1399px) {
    .bg_area::before {
        top: 300px;
    }
    
    .bg_area::after {
        top: 230px;
    }
}

@media only screen and (max-width: 1199px) {
    .bg_area::before {
        top: 250px;
    }
    
    .bg_area::after {
        top: 180px;
    }
}

@media screen and (max-width: 767px){
    .bg_area::before,
    .bg_area::after{
        background-size: cover;
        height: 100%;
        display: none;
    }
}


/*** --------------- main-top_slide --------------- ***/

.home .top_slide::before {
    content: '';
    width: 380px;
    height: 240px;
    background: url(../img/slider_bg.png) center center / contain no-repeat;
    position: absolute;
    bottom: -115px;
    left: 0;
    z-index: 1;
}

@media only screen and (max-width: 1199px) {
    .home .entry-content {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .home .top_slide::before {
        width: 280px;
        height: 180px;
        bottom: -110px;
    }
}

@media only screen and (max-width: 575px) {
    .home .top_slide::before {
        width: 200px;
        height: 125px;
        bottom: -115px;
    }
}

/*** --------------- slick --------------- ***/
.top_slide .slid_item{
    width: 73.5vw;
    padding: 0 15px;
}

.top_slide .slick-slide img{
    width:100%;
    border-radius: 30px;
}

.slick_dots {
    text-align: center;
    display: flex;
    justify-content: center;
    position: relative;
    top: -40px;
}

.slick_dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick_dots button {
    color: transparent;
    font-size: 0;
    width: 12px;
    height: 12px;
    display: block;
    border-radius: 50%;
    border: 1px solid #583822;
    background: #fff;
}

.slick_dots .slick-active button {
    background: #583822;
}

.top_slide .slick-arrow {
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 50px;
    top: calc(50% - 25px);
    z-index: 3;
    transition: 0.3s;
}

.top_slide .slick-arrow:hover {
    transform: scale(1.1);
}

.top_slide .slick-arrow img {
    max-width: 30px;
}

.top_slide .slick-prev {
    left:calc(10% - 30px);
}

.top_slide .slick-next {
    right:calc(10% - 30px);
}

@media only screen and (max-width: 1199px) {
    .slick_dots {
        top: -30px;
    }
}

@media only screen and (max-width: 767px) {
    .slick_dots {
        top: 10px;
    }
}

@media only screen and (max-width: 575px){
    .top_slide .slid_item{
        width: 100vw;
        padding: 0 20px;
    }

    .top_slide .slick-slide img{
        border-radius: 20px;
    }
    
    .slick_dots {
        display: block;
    }
}

/*** --------------- main-announce --------------- ***/
.announce h2 {
    position: relative;
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    margin: 100px 0 30px;
    padding-bottom: 80px;
  }
  .announce h2::before {
    content: "";
    background-image: url(../img/h2_leaf.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 470px;
    height: 60px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  @media screen and (max-width: 575px) {
    .announce h2 {
      padding-bottom: 50px;
    }
    .announce h2::before {
      width: 300px;
      height: 38px;
    }
  }
  
  /* ----- News List ----- */
  .news_list {
    padding: 0 150px;
  }
  .news_list .news_box {
    border-bottom: 1px solid #D1C1B5;
  }
  .news_list .news_box a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    padding: 30px;
    transition: 0.3s;
  }
  .news_list .news_box a:hover {
    background: #F5F4EE;
  }
  .news_list .news_box .news_img {
    width: 300px;
  }
  .news_list .news_box:nth-of-type(2n) .news_img {
    order: 2;
  }
.news_list .news_box:nth-of-type(2n+1) .news_img {
    mask-image: url(../img/mask_news.svg);
    mask-position: center center;
    mask-size: contain;
    mask-repeat: no-repeat;

    -webkit-mask-image: url(../img/mask_news.svg);
    -webkit-mask-position: center center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}
.news_list .news_box:nth-of-type(2n) .news_img {
    mask-image: url(../img/mask_news_r.svg);
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;

    -webkit-mask-image: url(../img/mask_news_r.svg);
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

  .news_list .news_box .news_img img {
    width: 100%;
    height: auto;
  }
  .news_list .news_box .news_text {
    width: calc(100% - 350px);
  }
  .news_list .news_box:nth-of-type(2n) .news_text {
    order: 1;
  }
  .news_list .news_box .news_title {
    margin-top: 15px;
    font-size: 3.0rem;
    font-weight: bold;
  }
  .news_list .news_box .new {
    display: inline-block;
    margin-left: 5px;
    padding: 3px;
    color: #D93330;
    font-size: 1.4rem;
    vertical-align: top;
  }
  .news_list .news_box .news_excerpt {
    margin-top: 12px;
  }
  .news_list .news_box .news_info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-right: 30px;
    position: relative;
  }
  .news_list .news_box .news_info::after {
    content: '';
    width: 15px;
    aspect-ratio: 3 / 4;
    background: url(../img/arrow_img02.png) center center / contain no-repeat;
    position: absolute;
    bottom: 0;
    right: 5px;
    transition: 0.3s;
  }
  .news_list .news_box a:hover .news_info::after {
    right: 0;
  }
  .news_list .news_box .news_date {
    margin-right: 5px;
    font-size: 1.4rem;
  }
  .news_list .news_box .news_tag {
    padding: 5px 15px;
    background: #EDE5DC;
    border-radius: 10px;
    font-size: 1.2rem;
  }
  
  @media (max-width: 1399px) {
    .news_list {
      padding: 0 100px;
    }
  }
  @media (max-width: 1199px) {
    .news_list {
      padding: 0 50px;
    }
    .news_list .news_box a {
      gap: 15px 30px;
      padding: 30px 20px;
    }
    .news_list .news_box .news_img {
      width: 220px;
    }
    .news_list .news_box .news_text {
      width: calc(100% - 250px);
    }
  }
  @media screen and (max-width: 991px) {
    .news_list {
      padding: 0;
    }
  }
  @media screen and (max-width: 767px) {
    .news_list .news_box .news_img {
      width: 100%;
      max-width: 400px;
    }
    .news_list .news_box:nth-of-type(2n) .news_img {
      order: 1;
    }
    .news_list .news_box .news_text {
      width: 100%;
    }
    .news_list .news_box:nth-of-type(2n) .news_text {
      order: 2;
    }
  }
  @media screen and (max-width: 575px) {
    .news_list .news_box a {
      padding: 25px 15px;
    }
    .news_list .news_box .news_info {
      padding-right: 20px;
    }
    .news_list .news_box .news_info::after {
      width: 10px;
    }
  }
  
  /* ----- News Category ----- */
  .news_cate {
    display: inline-block;
    padding: 4px 15px;
    background: #714E2B;
    border-radius: 10px;
    color: #FFF;
    font-size: 1.4rem;
    text-align: center;
  }
  .news_cate.news {
    background: #E67C7E;
  }
  .news_cate.event {
    background: #B4C95E;
  }
  .news_cate.blog {
    background: #E2B841;
  }
  .news_cate.movie {
    background: #FBAC3B;
  }
  
  /* ----- Announce Button ----- */
  .announce_button {
    text-align: center;
  }
  .announce_button a {
    position: relative;
    display: inline-block;
    width: 300px;
    max-width: 100%;
    font-size: 2.2rem;
    background: #EDE5DC;
    text-align: center;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 20px 50px 20px 20px;
    transition: 0.5s;
  }
  .announce_button a:hover {
    background: #DBC9BC;
  }
  .announce_button a::before {
    content: "";
    background-image: url(../img/arrow_img02.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 15px;
    height: 20px;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.5s;
  }
  .announce_button a:hover::before {
    right: 20px;
  }

/*** --------------- main-about --------------- ***/
.contents_sec{
    margin-bottom: 335px;
}

.list_box {
    padding: 0 145px;
}

.list_box ul {
    position: relative;
    display: flex;
    gap: 50px;
    padding-top: 200px;
}

.list_box ul::before {
    content: '';
    width: 155px;
    height: 150px;
    background: url(../img/top_bg01.png) center center / contain no-repeat;
    position: absolute;
    top: 0px;
    right: 0;
}

.list_box ul li {
    width: 300px;
    position: relative;
    border-radius: 30px 30px 0 0;
}

.list_box ul li .img_wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    position: relative;
}

.list_box ul li .img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.list_box ul li a:hover img {
    transform: scale(1.1);
}

.text_box {
    background: #F5F4EE;
    padding: 0 30px;
    border-radius: 0 0 30px 30px;
}

.list_box h2 {
    position: relative;
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
    padding: 20px 0 40px;
}

.text_box h2::before {
    content: "";
    background-image: url(../img/h2_line01.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 240px;
    height: 4px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.text_box p {
    position: relative;
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 60px;
}

.text_box p::before {
    content: "";
    background-image: url(../img/button_img01.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s;
}

.list_box ul li a:hover p::before {
    background-image: url(../img/button_img02.png);
}

@media only screen and (max-width: 1399px) {
    .list_box {
        padding: 0 55px;
    }
}

@media only screen and (max-width: 1199px) {
    .list_box ul {
        gap: 30px;
    }

    .list_box p br {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    .contents_sec{
    margin-bottom: 200px;
    }
    
    .list_box {
        padding: 0;
    }

    .list_box ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/*** --------------- main-inquiry --------------- ***/
.inquiry {
    position: relative;
    background: url(../img/inquiry_img.png) center center / cover no-repeat; 
    padding: 300px 0 120px;
    overflow: hidden;
}

.inquiry::before{
    content: '';
    position: absolute;
    background: url(../img/index_info_bg_curve.svg) center top / contain no-repeat;
    width: 102%;
    height: 100%;
    aspect-ratio: 20 / 1;
    top: -1px;
}

.inquiry::after{
    content: '';
    position: absolute;
    background: url(../img/index_info_bg_curve.svg) center top / contain no-repeat;
    width: 102%;
    height: 100%;
    aspect-ratio: 20 / 1;
    transform: rotate(180deg);
    bottom: -2px;
}

.inquiry_iilust,
.inquiry_iilust2{
    position: relative;
}

.inquiry_iilust::before {
    content: '';
    width: 250px;
    height: 190px;
    background: url(../img/top_bg02.png) center center / contain no-repeat;
    position: absolute;
    top: -130px;
    left: 160px;
    z-index: 1;
}

.inquiry_iilust::after {
    content: '';
    width: 80px;
    height: 135px;
    background: url(../img/top_bg03.png) center center / contain no-repeat;
    position: absolute;
    top: -90px;
    right: 180px;
    z-index: 1;
}


.inquiry_iilust2::before {
    content: '';
    width: 90px;
    height: 125px;
    background: url(../img/top_bg04.png) center center / contain no-repeat;
    position: absolute;
    top: -20px;
    left: 150px;
    z-index: 1;
}

.inquiry_iilust2::after {
    content: '';
    width: 190px;
    height: 170px;
    background: url(../img/top_bg05.png) center center / contain no-repeat;
    position: absolute;
    top: -65px;
    right: 130px;
    z-index: 1;
}

.inquiry_box {
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    border-radius: 30px;
    max-width: 600px;
    padding: 30px 0;
    margin: auto;
}

.inquiry_box h2 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.text {
    margin-bottom: 20px;
    font-weight: bold;
}

a.phone {
    position: relative;
    display: block;
    color: #fff;
    font-size: 2.4rem;
    background: #DBC9BC;
    border-radius: 20px;
    width: 300px;
    margin: 0 auto;
    padding: 8px 50px 8px 80px;
    margin-bottom: 10px;
    z-index: 2;
    transition: 0.3s;
}

a.phone::before {
    content: "";
    background-image: url(../img/phone_icon.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 30px;
    height: 30px;
    left: 50px;
    top: calc(50% - 15px);
    transition: 0.3s;
}

a.phone:hover{
    background: #D1C1B5;
}

a.phone:hover::before{
    transform: rotate(10deg);
}

@media only screen and (max-width: 1199px) {
    .inquiry {
        padding-top: 250px;
    }

    .inquiry_iilust::before {
        width: 200px;
        height: 150px;
        top: -105px;
        left: 140px;
    }

    .inquiry_iilust::after {
        width: 60px;
        height: 100px;
        top: -60px;
        right: 160px;
    }

    .inquiry_box {
        bottom: 110px;
    }

    .inquiry_iilust2::before {
        width: 70px;
        height: 125px;
        top: -10px;
        left: 130px;
    }

    .inquiry_iilust2::after {
        width: 170px;
        height: 150px;
        top: -45px;
        right: 110px;
    }
}

@media only screen and (max-width: 991px) {
    .inquiry {
        padding-top: 200px;
    }

    .inquiry_iilust::before {
        top: -120px;
        left: 20px;
    }

    .inquiry_iilust::after {
        top: -80px;
        right: 50px;
    }
    
    .inquiry_iilust2::before {
        left: 50px;
    }
    
    .inquiry_iilust2::after {
        right: 20px;
    }

    .inquiry_box {
        bottom: 60px;
    }

    a.phone {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 767px) {
    .inquiry_box {
        bottom: 0;
    }
}

@media only screen and (max-width: 575px) {
    .inquiry_iilust::before {
        width: 160px;
        height: 120px;
        top: -95px;
    }
    
    .inquiry_iilust::after {
        width: 50px;
        height: 85px;
        top: -70px;
        right: 30px;
    }

    .inquiry_iilust2::before {
        width: 60px;
        height: 80px;
        top: 20px;
        left: 30px;
    }
    
    .inquiry_iilust2::after {
        width: 140px;
        height: 125px;
        top: -20px;
    }
    
    .inquiry_img {
        mask-image: none;
    }

    .inquiry{
        padding-top: 120px;
        background: url(../img/inquiry_img.png) center center / cover no-repeat;
    }

    .inquiry_box {
        padding: 30px 10px;
    }
    
    a.phone {
        width: 260px;
    padding: 8px 40px 8px 70px;
    }
    
    a.phone::before {
        left: 40px;
    }
}

@media only screen and (max-width: 349px) {
    .text br {
        display: none;
    }
}

/*** --------------- main-guidance --------------- ***/
.guidance {
    position: relative;
    padding-top: 100px;
}

.guidance_box {
    background: #F5F4EE;
}

.guidance_box_in {
    padding: 80px 45px;
}

.guidance_box_in ul {
    display: flex;
    gap: 50px;
    text-align: center;
}

.guidance_box_in ul li {
    width: 575px;
    max-width: 100%;
    padding: 40px 100px;
    background: #fff;
    border-radius: 20px;
}

.guidance_box_in h2 {
    position: relative;
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.admission::before {
    content: "";
    background-image: url(../img/h2_bird01.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 70px;
    height: 40px;
    right: 0;
}

.admission::after {
    content: "";
    background-image: url(../img/h2_bird01.png);
    background-size: cover;
    transform: scale(-1, 1);
    display: inline-block;
    position: absolute;
    width: 70px;
    height: 40px;
    left: 0;
}

.recruit::before {
    content: "";
    background-image: url(../img/h2_bird02.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 70px;
    height: 40px;
    right: 0;
}

.recruit::after {
    content: "";
    background-image: url(../img/h2_bird02.png);
    background-size: cover;
    transform: scale(-1, 1);
    display: inline-block;
    position: absolute;
    width: 70px;
    height: 40px;
    left: 0;
}

.guidance_box_in .text {
    margin-bottom: 30px;
}

.guidance_button a {
    position: relative;
    display: inline-block;
    width: 250px;
    font-size: 2.2rem;
    background: #EDE5DC;
    text-align: center;
    border-radius: 20px;
    margin: 0 auto;
    padding: 11px 90px 11px 60px;
    transition: 0.5s;
}

.guidance_button a:hover {
    background: #DBC9BC;
}

.guidance_button a::before {
    content: "";
    background-image: url(../img/arrow_img02.png);
    background-size: cover;
    display: inline-block;
    position: absolute;
    width: 15px;
    height: 20px;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.5s;
}

.guidance_button a:hover::before {
    right: 10px;
}

@media only screen and (max-width: 1399px) {
    .guidance_box_in {
        padding: 80px 0;
    }
}

@media only screen and (max-width: 1199px) {
    .guidance_box_in ul {
        gap: 30px;
    }

    .guidance_box_in ul li {
        padding: 40px 50px;
    }
}

@media only screen and (max-width: 991px) {
    .guidance_box_in ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media only screen and (max-width: 575px) {
    
    .guidance_box_in {
        padding: 50px 0;
    }
    
    .guidance_box_in ul li {
        padding: 40px 20px;
    }
    
    .guidance_box_in h2 {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .admission::before {
        width: 61px;
        height: 35px;
    }
    
    .admission::after {
        width: 61px;
        height: 35px;
    }
    
    .recruit::before {
        width: 61px;
        height: 35px;
    }
    
    .recruit::after {
        width: 61px;
        height: 35px;
    }
    
    .guidance_box_in .text {
        margin-bottom: 20px;
    }
    
    .guidance_button a {
        border-radius: 10px;
        padding: 5px 90px 5px 60px;
    }
    
    
}