@charset "utf-8";
/* 기본설정 */
@import "default.css";
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aboutslide{
    position: relative;
}
.aboutslide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* about_sec01 */
.about_sec01 {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 30px;
    margin: 0 auto;
    /* padding: 30px; */
}
.left img {
    display: block;
    width: 100%;
    max-width: 671px;
}

.right {
    display: flex;
    flex-direction: column;
    gap: 35px;
    justify-content: center;
    padding: 0 40px;
    overflow-x: hidden;
}
.right-top, .right-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.right .text-box { 
    display: flex;
    align-items: center;
    /* justify-content: center; */
    color: #543B0D;
    font-size: 15px;
    line-height: 1.6;
    word-break: keep-all;
}
.right-top .text-box {
    padding: 50px 50px 50px 0px;
    min-width: 40%;
}
.right-bottom .text-box {
    padding: 50px 50px 50px 0px;
    display: block;
    text-align: right;
    font-size: 1.07em;
}
.polaroid {
    position: relative;
    width: 50%;
    height: 19.7vw;
    background: #fff;
    padding: 30px;
    box-shadow: 3px 3px 6px #00000026;
}

.polaroid img {
    position: absolute;
    top: 30px;
    left: 30px;
    width: calc(100% - 60px);
    height: auto;
    display: block;
}
.polaroid .topimg01, .polaroid .bottomimg01 {
    opacity: 1;
    animation: opacity-from1 8s ease infinite;
}
.polaroid .topimg02, .polaroid .bottomimg02 {
    opacity: 0;
    animation: opacity-from0 8s ease infinite;
}
@keyframes opacity-from1 {
    0%, 30%{
        opacity: 1;
    }
    50%, 80% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes opacity-from0 {
    0%, 30% {
        opacity: 0;
    }
    50%, 80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}



.text-box .title {
    font-size: 50px;
    font-weight: bold;
    color: #BB7E56;
    margin-bottom: 40px;
    text-align: right;
}

/* 반응형 */
@media (max-width: 1400px) {
    .about_sec01 .left { border-top: 5px solid #F9F4EF;}
    .left img { max-width: 100%;}
    .text-box .title { font-size: 35px;}
    .right .text-box { font-size: 13px;}
    .polaroid img {
        max-width: 420px;
    }

}
@media (max-width: 1200px) {
    .about_sec01 {
        grid-template-columns: 1fr;
    }
    .polaroid {
        height: 288px;
        padding: 8px;
    }
    .polaroid img {
        position: absolute;
        top: 8px;
        left: 8px;
        width: calc(100% - 16px);
        height: auto;
        display: block;
    }
    .right {
        flex-direction: column;
        padding: 0;
    }
    .text-box .title { margin-bottom: 15px;}
    .right-top .text-box { padding: 30px 10px 30px 30px;}
    .right-bottom .text-box { padding: 30px 30px 30px 10px;}
    .aboutmap {
        padding: 3% 0 10%;
        min-height: 300px;
        /* background-color: #F1ECE7; */
    }
    .mapbox{
        width: 85%;
        margin: 0 auto;
        max-height: 750px;
        margin-bottom: 5%;
    }
    .mapbox img{
        width: 100%;
        max-height: 750px;
    }
}
@media(max-width:768px){
    .polaroid {
        height: 33.7vw;
        margin: auto 0;
    }
    .right-top, .right-bottom {
        justify-content: center;
        gap: 15px;
    }
    .right .text-box { font-size: 11px;}
    .right-top .text-box { padding: 10px; padding-right: 0;}
    .right-bottom .text-box { padding: 10px; padding-left: 0;}
    .text-box .title { font-size: 23px;}
}

@media(max-width:400px){
    .text-box .title { font-size: 21px;}
    .right-top, .right-bottom {
        gap: 10px;
    }
    
}
/* about_sec01 끝 */

/* about_sec02 */
.about_sec02 { 
    position: relative;
    overflow: hidden;
    margin-top: 10%;
}
.about_sec02 img {
  display: block;
  width: 100%;
  transform: scale(0.3);
  transition: transform 0.1s linear;
}
@media(max-width:768px){
    .about_sec02 img {
        width: 100%;
        height: 110vw;
    }
}
/* about_sec02 끝 */


/*메인 이외 탑슬라이드 */
/* 초기 상태 */
.topslide .swiper-slide:first-child .slide-caption h2,
.topslide .swiper-slide:first-child .slide-caption p,
.topslide .swiper-slide:first-child .slide-caption .view-more-button {
  opacity: 0;
  transform: translateY(45px);
}

/* 애니메이션 클래스 적용 시 */
.topslide .swiper-slide:first-child .slide-caption.animate h2 {
  transition: all 1s ease;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.topslide .swiper-slide:first-child .slide-caption.animate p {
  transition: all 1s ease;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
