body {
    margin: 0;
    font-family: Arial, sans-serif;
}


.main-banner {
    text-align: center;
    position: relative;
  
}

.main-banner img {
    width: 100%;
    height: auto;
}

.main-banner h2 , .main-banner h1{
    color: white;
}



.content-section {
    text-align: center;

}



.content-section img {
    max-width: 100%;
    height: auto;
}
.iconbox p img{
    margin-bottom: 20px;
}

.content-section .left img:first-child{
    margin-bottom: 20px;
}
.content-section .left img:last-child{
    margin: 0;
}

.headline{
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.main-banner .middle_center{
    width: 50%;
}
.middle{
    position: absolute;
    left: 20%;
    top:50%;
    transform: translateY(-50%);
}
@font-face {
font-family: 'Figtree Italic';
src: url('Figtree-ExtraBoldItalic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}

.figtree-italic {
font-family: 'Figtree Italic', sans-serif;
font-style: italic;
}

.color01{color:#242424}
.color02{color:#1b1b1b}
.line01{
background-color: #1b1b1b; 
width: 40px;
height: 2px;
margin:0 auto;
}
.ml-6{
margin-left:-6rem;
}
.mr-6{
margin-right:-6rem;
}

h1,h2,h3,h4,p{
font-family:'NanumSquare','Nanum Gothic', sans-serif
}
.iconbox{
width: 90%;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 auto;
}
.iconbox p{
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
align-items: center;
}
.iconbox p img{
width: 130px;
}
.box{
display: flex ; flex-direction: column; justify-content: center;
padding:0px;
max-width: unset;
border:0px;
width: unset;
}
.box02{
display: flex ; width: 100%;  align-items: flex-start;    justify-content: center;"
}
.tc{
text-align: center;
}
.portfolio{
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

#portfolio .image-wrapper{
     width: 24.5%;
}
    

#work{
    width: 100%;
}
#work  p{
width: 32%;
text-align: center;
position: relative;
margin-bottom: 2%;

}


#work p span{
    width: 100%;
    text-align: left;
    position: absolute;
    bottom: 5%;
    left: 0;
    font-size: 3.3rem;
    color: #fff;
    font-weight: 800;
    padding: 0 5%;
}
.custom_btn{
width: 400px;
}
.custom_btn a{
width: 400px;
height:60px;
background-color: #000;
color:#fff;
font-size:3.2rem;
display: table-cell;
text-align: center;
vertical-align: middle;
}
.custom_btn a:hover{
color:#000;
background-color: #fff;
border:1px solid #000;
}

.contents_cover{
width: 90%;
    margin: 0 auto;
}

.custom01{
    display: flex;
    flex-direction: column;
}


.image-wrapper {
    overflow: hidden;
    cursor: pointer;
}


.image-wrapper img {
    width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.work p span{
    transition: transform 0.6s ease;
}

.work p:hover span{
    display: none;

}

.image-wrapper:hover img {
    transform: scale(1.05);
}



@media (min-width: 1501px) and (max-width: 1800px) {
.content-section .mt8 {
margin-top: 4rem; /* 기존 8rem → 50% 축소 */
} 
.content-section .mb8 {
margin-bottom: 4rem; /* 기존 8rem → 50% 축소 */
}
.content-section .pt10 {
padding-top: 5rem; /* 기존 10rem → 50% 축소 */
}
}

@media (max-width: 1500px) {
.content-section .custom01 img{
    width:90%;
}
.content-section .custom01 img:last-child{
    margin-left: 10%;
}
.main-banner .middle{
left:50%;
transform:translate(-50%,-50%);
width:100%;
text-align: center;
}
.content-section{ 
display: flex;
flex-direction: column;

}
.content-section .box{
margin-bottom:8rem;
}
.content-section .box + .left img{
width: 90%;
}
.content-section .box + .left img:last-child{
margin-left:10%;
}

.content-section .box + .w60{
width: 100%;
}


#portfolio{
width: 100%;
}
#portfolio .image-wrapper{
    width: 49.5%;
}

#portfolio .image-wrapper:nth-child(n+4){
    margin-top: 1%;
}

}
@media (max-width: 1000px) {
html{
font-size:7px;
}
.iconbox {
width: 100%;
}
.box{
width: 100%;
}

}
@media (min-width: 681px) {
.m600{
display: none;
}
}

@media (max-width: 680px) {
#work p span {
    font-size: 2.2rem;
    text-align: center;
}
.middle{
display: none;
}
.custom_btn {
width: 80%;
}
.custom_btn a{
    width: 260px;
    height: 80px;
    font-size: 3.8rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
color:#fff;
}
#work h3,#portfolio h3{
margin-bottom: 8rem;
margin-top: 16rem;
}
.content-section h3{
    margin-bottom: 0;
    margin-top: 2rem;
    font-size:5.425rem;
}
.box02{
    justify-content: space-between;
}
.content-section > .box .color02{
font-size: 2.8rem;
margin-top: 6rem;
}
.iconbox{
padding-top: 8rem;
}
.m600{
display: block;
margin: 6rem auto;

}
.m-title{
margin-bottom:0;
}
.headline h2{
font-size: 6rem;
}
}