@charset "utf-8";
/* 기본설정 */
/* @import "default.css"; */

.aboutslide{
    position: relative;
}
.aboutslide .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (max-width:768px) {
    .aboutslide {
        margin-top: 50px;
    }
}
.about_intro.section {
    display: flex;
    padding: 200px 11.46vw 250px;
    justify-content: space-around;
    /* background-color: #F1ECE7; */
}
.about_intro .leftbox{
    font-size: 14px;
    line-height: 25px;
    color: #505050;
    position: relative;
    padding-left: 3%;
}
.about_intro .leftbox::before{
    content:'';
    display: block;
    width: 1px;
    height: 0;
    background-color:var(--main-brown);
    position: absolute;
    left: 0;
    top: -20px;
    margin-right: 3%;
    transition: all 1.5s ease-in-out;
}
.about_intro .leftbox.active::before {
    height: 105%;
}

.about_intro .leftbox h2{
    font-size: 24px;
    letter-spacing: 0.03em;
    display: inline-block;
}
.about_intro .leftbox h2::after{
    content:'';
    display: block;
    height: 1px;
    width: 0;
    background-color: var(--main-brown);
    margin-top: 40px;
    margin-bottom: 46px;
    transition: all 1.2s ease-in-out;
}
.about_intro .leftbox.active h2::after{
    width: 21%;
}
.about_intro .leftbox p{
    font-size: 17px;
    color: #505050;
}

.about_intro .rightbox{
    width: 48%;
    max-height: 680px;
}
.about_intro .rightbox img{
    width: 100%;
    display: block;
}

@media (max-width:1024px) {
     .about_intro.section {
        display: block;
        padding: 100px 7% 110px;
    }
    .about_intro .leftbox{
        text-align: left;
        margin-bottom: 5%;
    }
    .about_intro .leftbox::before{
        left: -13px;
        height: 0;
        bottom: -3%;
    }
    .about_intro .leftbox.active::before {
        height: 107%;
    }
    .about_intro .leftbox h2{
        font-size: 18px;
        letter-spacing: 0.01em;
    }
    .about_intro .leftbox h2::after{
        content:'';
        display: block;
        width: 0;
        background-color: var(--main-brown);
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .about_intro .leftbox.active h2::after{
        width: 22%;
    }
    .about_intro .leftbox p{
        font-size: 12px;
    }
    .about_intro .rightbox{
        width: 100%;
        
    }
    .about_intro .rightbox img{
        height: auto;
    }
    .about_intro .leftbox p{
        margin-bottom: 45px;
    }
}




/* 중간 배너 */
.mid-banner.section {
    background: url(/images/about/mid-banner.jpg) center 0% / cover no-repeat;
    width: 100%;
    height: 930px;
    transition: all 2s ease-in-out;
}
.mid-banner.active {
    background: url(/images/about/mid-banner.jpg) center 50% / cover no-repeat;
}
.mid-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.mid-banner .inner {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.mid-banner p{
    margin-bottom: 40px;
    font-size: 24px;
    color: #fff;
    font-family: 'arita-l';
}

@media (max-width:768px) {
  .mid-banner.section {
    position: relative;
    background: url(/images/about/m/mid-banner.jpg) 0% center / cover no-repeat;
    width: 100%;
    height: 535px;
    /* background-attachment: fixed; */
  } 
  .mid-banner.active {
    background: url(/images/about/m/mid-banner.jpg) center center / cover no-repeat;
  }
  .mid-banner p{
    margin-bottom: 20px;
    font-size: 16px;
  }
}


/* 사진 3개 영역 */
.photos.section{
    display: flex;
    justify-content: space-between;
    gap: 2%;
    padding-top: 250px;
    padding-bottom: 1.8%;
}
.photos img{
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.left_photo{
    display: flex;
    flex-direction: column;
    width: 60%;
    justify-content: space-between;
    height: auto;
}
.left_photo .imgbox{
    position: relative;
    height: 48.5%;
    border: 1px solid #6D5D52;
}
/* .left_photo .imgbox:nth-of-type(2) {
    padding: 1px;
} */
.left_photo .imgbox img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.left_photo .imgbox img.logo{
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: auto;
    height: auto;
}
.left_photo .imgbox .text{
    position: absolute;
    top: 60%;
    left: 50%;
    width: 70%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: #fff;
    font-size: 17px;
}
.left_photo .imgbox .text h2 {
    color: #fff;
    font-size: 38px;
    line-height: 1;
    font-family: 'arita-sb';
}
.left_photo .imgbox .text p:first-of-type {
    font-size: 16px;
    letter-spacing: 0.1em;
    font-family: 'arita-m';
    margin-bottom: 40px;
}
.left_photo .imgbox .text p:last-of-type {
    font-size: 17px; 
}
.left_photo .imgbox img.filter {
    filter: brightness(0.7);
}
.right_photo{
    width: 40%;
    height: auto;
    border: 1px solid #6D5D52;
}

/* 아래 큰 사진 */
.below_photo.section {
    padding-top: 0;
}
.below_photo img{
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width:1400px){
    .left_photo .imgbox img.logo{
        top: 30%;
        left: 50%;
    }
    .left_photo .imgbox .text{
        top: 53%;
        left: 50%;
        width: 80%;
    }
}
@media(max-width:1000px){
    .left_photo .imgbox img.logo{
        width: 20%;
    }
    .left_photo .imgbox .text{
        font-size: 15px;
        line-height: 25px;
    }
    .left_photo .imgbox .text h2 {
        font-size: 28px;
    }
    .left_photo .imgbox .text p:first-of-type {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .left_photo .imgbox .text p:last-of-type {
        font-size: 13px; 
    }
}
@media(max-width:768px){
   .photos.section {
        padding: 110px 15px 10px;
        gap: 10px;
   }
   .left_photo {
        width: 50%;
    }
    .left_photo .imgbox {
        min-height: 40vw;
    }
    .left_photo .imgbox img.logo {
        width: 16%;
    }
    .left_photo .imgbox:nth-of-type(1) {
        max-height: 48.2vw;
    }
    .left_photo .imgbox:nth-of-type(2) {
        width: calc(100vw - 30px);
        min-height: 50vw;
        margin-top: 5px;
    }
    .left_photo .imgbox .text {
        width: 90%;
        font-size: 11px;
        line-height: 20px;
        word-break: keep-all;
    }
    .left_photo .imgbox .text p:first-of-type {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .left_photo .imgbox .text p:last-of-type {
        font-size: 12px; 
        line-height: 20px;
    }
    .right_photo {
        width: 50%;
        max-height: 48.2vw;
    }
    .about_intro .leftbox{
        font-size: 12px;
    }

    .below_photo.section {
        padding: 0 15px 55px;
    }

}

/* map */

.aboutmap {
    padding-top: 7%;
    background-color: #F1ECE7;
}
.aboutmap h2{
    font-size: 51px;
    text-align: center; 
    margin-bottom: 10px;
}
.aboutmap p {
    text-align: center;
    font-size: 18px;
    line-height: 35px;
    margin-bottom: 50px;
}
.mapbox{
    width: 85%;
    margin: 0 auto;
    max-height: 750px;
    margin-bottom: 5%;
}
.mapbox img{
    width: 100%;
    max-height: 750px;
}


@media(max-width:500px){

    .aboutmap h2{
        font-size: 35px;
        margin-bottom: 0;
    }
    .aboutmap p {
        font-size: 13px;
        line-height: 25px;
        margin-bottom: 40px;
    }
    
}