/*
* {
  box-sizing: border-box;
}
*/


.painting_wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}


.painting_wrap section:hover {
  flex: 2;
}
.painting_wrap section:hover:after {
  opacity: .0; /* 오버시 배경 투명도 */
}
.painting_wrap section:hover .painting_wrap section article {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  transition: opacity .2s .2s, -webkit-transform .2s .2s;
  transition: opacity .2s .2s, transform .2s .2s;
  transition: opacity .2s .2s, transform .2s .2s, -webkit-transform .2s .2s;
}

.painting_wrap section { 
  flex: 1;
  position: relative;
  min-height: 30vh; /* 모바일 높이 */
  overflow: hidden;
  z-index: 1;
  transition: flex-grow .2s, opacity .2s;
}

.painting_wrap section:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: width .2s, -webkit-transform .2s;
  transition: transform .2s, width .2s;
  transition: transform .2s, width .2s, -webkit-transform .2s;
}
.painting_wrap section:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  transition: opacity .2s;
}



.painting_wrap section:nth-child(1):before {
  background-color: #000;
  background-image: url(../images/main_around_01.jpg); background-position:center; background-size:cover;
}
.hide-images .painting_wrap section:nth-child(1):before {
  background-image: none;
}

.painting_wrap section:nth-child(2):before {
  background-color: #000;
  background-image: url(../images/main_around_02.jpg); background-position:center; background-size:cover;
}
.hide-images .painting_wrap section:nth-child(2):before {
  background-image: none;
}

.painting_wrap section:nth-child(3):before {
  background-color: #000;
  background-image: url(../images/main_around_03.jpg); background-position:center; background-size:cover;
}
.hide-images .painting_wrap section:nth-child(3):before {
  background-image: none;
}

.painting_wrap section:nth-child(4):before {
  background-color: #000;
  background-image: url(../images/main_around_04.jpg); background-position:center; background-size:cover;
}
.hide-images .painting_wrap section:nth-child(4):before {
  background-image: none;
}

.painting_wrap section:nth-child(5):before {
  background-color: #000;
  background-image: url(../images/main_around_05.jpg); background-position:center; background-size:cover;
}
.hide-images .painting_wrap section:nth-child(5):before {
  background-image: none;
}


.painting_wrap section:before {
  background-color: #000;
}
.painting_wrap section:after {
  opacity: .0; /* 배경 기본 투명도 */
}
.painting_wrap section:.painting_wrap section article {
  display: none;
}


/* 텍스트 */
.painting_wrap section article h2 { font-family: 'Arita-buri-SemiBold'; font-size: 1.8vw; color:#fff; }
.painting_wrap section article p { display:block; margin:20px 0; font-size: 1.1em; }
/* .painting_wrap section article p:after {content :""; display:block; background:#fff; margin:10px auto 15px; width:22px; height:2px; } */
.painting_wrap section article span { display:block; background:url(../images/more_arr2.png) 85% 50% no-repeat; border:1px solid #fff; margin:20px auto; width:90px; padding:5px 15px; font-size:0.8em; font-weight:500; text-align:left; transition:all 0.5s; }
.painting_wrap section article ul { display:flex; justify-content:center; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,0.5); margin:0 auto; padding:10px 0 0; width:80%; }
.painting_wrap section article ul li { border:0px solid rgba(255,255,255,0.5); border-radius:30px; margin:3px 6px; padding:4px 0; font-size:1.0em; color:#fff; text-align:center; }


/* button {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  color: white;
  background-color: black;
  border: none;
  outline: none;
  cursor: pointer;
}*/





@media (min-width: 630px) {
  .painting_wrap {
    flex-direction: row;
    width: 100%;
    margin-left: 0;
  }
	
	.painting_wrap section:hover .painting_wrap section article {
    -webkit-transform: translateY(0) skewX(0);
            transform: translateY(0) skewX(0);
  }
	
	.painting_wrap section {
    width: 33%; border-right:1px solid #c9c9c9;
    height: 70vh; /* pc 높이 */
    margin-right:;
    -webkit-transform: skewX(0) translateZ(0);
            transform: skewX(0) translateZ(0);
  }
  .painting_wrap section:before {
    left: ;
    width: 100%;
    -webkit-transform: skewX(0);
            transform: skewX(0);
  }
  .painting_wrap section article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom:-5%; /* pc 텍스트 박스 위치 */
    right: 0;
    left: 0;
    margin: auto; width:100%; height:; text-align: center; color: white; z-index: 1;
    opacity: 1;
    -webkit-transform: translateY(0) skewX(0);
            transform: translateY(0) skewX(0);
			transition: opacity .2s, -webkit-transform .2s;
  transition: opacity .2s, transform .2s;
  transition: opacity .2s, transform .2s, -webkit-transform .2s;
  }

.painting_wrap section a { position:relative; display:block; width:100%; height:100%; z-index:2;}
  
}


@media (max-width:767px){
	
	.painting_wrap section article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom:-5%; /* 모바일 텍스트 박스 위치 */
    right: 0;
    left: 0;
    margin: auto; width:100%; height:; text-align: center; color: white; z-index: 3;
    opacity: 1;
    -webkit-transform: translateY(0) skewX(0);
            transform: translateY(0) skewX(0);
			transition: opacity .2s, -webkit-transform .2s;
  transition: opacity .2s, transform .2s;
  transition: opacity .2s, transform .2s, -webkit-transform .2s;
  }
  
  .painting_wrap section a { position: absolute; display:block; width:100%; height:100%; z-index:1;}
  
  /* 텍스트 */
.painting_wrap section article h2 { font-family: 'Arita-buri-SemiBold';font-size: 1.5em; color:#fff; }
.painting_wrap section article p { display:block; margin:6px 0; font-weight:600; font-size: 1.1em; }
/* .painting_wrap section article p:after {content :""; display:block; background:#fff; margin:10px auto 15px; width:22px; height:2px; } */
.painting_wrap section article span { display:block; background:url(../images/more_arr2.png) 85% 50% no-repeat; border:1px solid #fff; margin:20px auto; width:90px; padding:5px 15px; font-size:0.8em; font-weight:500; text-align:left; transition:all 0.5s; }
.painting_wrap section article ul { display:flex; justify-content:center; flex-wrap:wrap;}
.painting_wrap section article ul li { border:0px solid rgba(255,255,255,0.5); border-radius:30px; margin:0 5px; padding:2px 0; font-size:0.9em; color:#fff; text-align:center; }
  	
}





